Compare commits

..

2 Commits

4 changed files with 7 additions and 2 deletions

View File

@ -9,7 +9,7 @@ After=network.target mullvad-daemon.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
#ExecStartPre=/usr/bin/sleep 60
# Empty the main chrony.service ExecStart line so it can be overwritten
ExecStart=
ExecStart=/usr/bin/mullvad-exclude /usr/sbin/chronyd $DAEMON_OPTS

View File

@ -0,0 +1 @@
../yggdrasil.service.d/never-fail.conf

View File

@ -9,7 +9,7 @@ After=network.target mullvad-daemon.service
# Wait a ~minute before actually starting Yggdrasil 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 45
#ExecStartPre=/usr/bin/sleep 45
# Empty the main yggdrasil.service ExecStart line so it can be overwritten
ExecStart=
ExecStart=/usr/bin/mullvad-exclude /usr/bin/yggdrasil -useconffile /etc/yggdrasil.conf

View File

@ -0,0 +1,4 @@
# To never stop retrying to start
[Service]
Restart=always
RestartSec=5s