mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 03:02:52 +01:00
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
|
||||
# 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
|
||||
|
4
etc/systemd/system/yggdrasil.service.d/never-fail.conf
Normal file
4
etc/systemd/system/yggdrasil.service.d/never-fail.conf
Normal file
@ -0,0 +1,4 @@
|
||||
# To never stop retrying to start
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=5s
|
Loading…
Reference in New Issue
Block a user