systemd: keep retrying yggdrasil, don't sleep
This commit is contained in:
parent
12b05ab77a
commit
84e714b55e
|
@ -9,7 +9,7 @@ After=network.target mullvad-daemon.service
|
||||||
# Wait a ~minute before actually starting Yggdrasil so Mullvad has surely had
|
# 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
|
# time to start and thus not fail at excluding (cannot set the cgroup, no
|
||||||
# such file or directory)
|
# 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
|
# Empty the main yggdrasil.service ExecStart line so it can be overwritten
|
||||||
ExecStart=
|
ExecStart=
|
||||||
ExecStart=/usr/bin/mullvad-exclude /usr/bin/yggdrasil -useconffile /etc/yggdrasil.conf
|
ExecStart=/usr/bin/mullvad-exclude /usr/bin/yggdrasil -useconffile /etc/yggdrasil.conf
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
# To never stop retrying to start
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
|
RestartSec=5s
|
Loading…
Reference in New Issue