2020-12-08 17:36:34 +01:00
|
|
|
# Split-tunneling Chrony outside of Mullvad VPN (won't work without it)
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
# Don't start until mullvad-daemon is online to allow excluding
|
2024-04-26 16:43:37 +02:00
|
|
|
Requires=mullvad-daemon.service
|
2020-12-08 17:36:34 +01:00
|
|
|
After=network.target mullvad-daemon.service
|
|
|
|
|
2020-10-30 07:04:58 +01:00
|
|
|
[Service]
|
2020-12-08 17:36:34 +01:00
|
|
|
# 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
|
2020-12-09 08:38:49 +01:00
|
|
|
# such file or directory)
|
2024-10-04 12:21:21 +02:00
|
|
|
#ExecStartPre=sleep 60
|
2020-12-08 17:36:34 +01:00
|
|
|
# Empty the main chrony.service ExecStart line so it can be overwritten
|
2020-10-30 07:04:58 +01:00
|
|
|
ExecStart=
|
2024-10-04 12:21:21 +02:00
|
|
|
ExecStart=mullvad-exclude /usr/sbin/chronyd $DAEMON_OPTS
|