mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-12 05:19:21 +01:00
Compare commits
2 Commits
12b05ab77a
...
12127744b5
Author | SHA1 | Date | |
---|---|---|---|
12127744b5 | |||
84e714b55e |
@ -9,7 +9,7 @@ After=network.target mullvad-daemon.service
|
|||||||
# Wait a minute before actually starting Chrony so Mullvad has surely had
|
# 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
|
# 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 60
|
#ExecStartPre=/usr/bin/sleep 60
|
||||||
# Empty the main chrony.service ExecStart line so it can be overwritten
|
# 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
|
||||||
|
1
etc/systemd/system/chrony.service.d/never-fail.conf
Symbolic link
1
etc/systemd/system/chrony.service.d/never-fail.conf
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../yggdrasil.service.d/never-fail.conf
|
@ -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
|
||||||
|
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