systemd/{chrony,i2pd,yggdrasil}.service.d/mullvad-exclude.conf: fix mistakes and Requires=

This commit is contained in:
Aminda Suomalainen 2024-04-26 17:43:37 +03:00
parent 1b64bc5e13
commit 61dc3706ab
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 7 additions and 2 deletions

View File

@ -2,7 +2,7 @@
[Unit]
# Don't start until mullvad-daemon is online to allow excluding
Wants=mullvad-daemon.service
Requires=mullvad-daemon.service
After=network.target mullvad-daemon.service
[Service]

View File

@ -1,5 +1,10 @@
# https://i2pd.readthedocs.io/en/latest/tutorials/yggdrasil-only-mode/
# and letting it through Mullvad this way
[Unit]
Requires=mullvad-daemon.service
After=mullvad-daemon.service
[Service]
ExecStartPre=/usr/bin/sleep 30
ExecStart=
ExecStart=/usr/bin/mullvad-exclude /usr/sbin/i2pd --conf=/etc/i2pd/i2pd.conf --tunconf=/etc/i2pd/tunnels.conf --tunnelsdir=/etc/i2pd/tunnels.conf.d --pidfile=/run/i2pd/i2pd.pid --logfile=/var/log/i2pd/i2pd.log --daemon --service

View File

@ -2,7 +2,7 @@
[Unit]
# Don't start until mullvad-daemon is online to allow excluding
Wants=mullvad-daemon.service
Requires=mullvad-daemon.service
After=network.target mullvad-daemon.service
[Service]