mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-29 06:29:36 +01:00
systemd/chrony.service.d/mullvad-exclude: actually fix this
This commit is contained in:
parent
f92b8d8d05
commit
40d535f2c0
@ -1,3 +1,15 @@
|
|||||||
|
# Split-tunneling Chrony outside of Mullvad VPN (won't work without it)
|
||||||
|
|
||||||
|
[Unit]
|
||||||
|
# Don't start until mullvad-daemon is online to allow excluding
|
||||||
|
Wants=mullvad-daemon.service
|
||||||
|
After=network.target mullvad-daemon.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
# Wait a minute before actually starting Chrony so Mullvad has surely had
|
||||||
|
# time to start and thus not fail at excluding (cannot set the cgroup, no
|
||||||
|
# such file or directory
|
||||||
|
ExecStartPre=/usr/bin/sleep 60
|
||||||
|
# Empty the main chrony.service ExecStart line so it can be overwritten
|
||||||
ExecStart=
|
ExecStart=
|
||||||
ExecStart=/usr/bin/mullvad-exclude /usr/sbin/chronyd $DAEMON_OPTS
|
ExecStart=/usr/bin/mullvad-exclude /usr/sbin/chronyd $DAEMON_OPTS
|
||||||
|
Loading…
Reference in New Issue
Block a user