2020-12-09 09:38:49 +02:00
|
|
|
# Split-tunneling Yggdrasil outside of Mullvad VPN (won't work without it)
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
# Don't start until mullvad-daemon is online to allow excluding
|
2024-04-26 17:43:37 +03:00
|
|
|
Requires=mullvad-daemon.service
|
2020-12-09 09:38:49 +02:00
|
|
|
After=network.target mullvad-daemon.service
|
|
|
|
|
|
|
|
[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)
|
2024-10-04 13:21:21 +03:00
|
|
|
#ExecStartPre=sleep 45
|
2020-12-09 09:38:49 +02:00
|
|
|
# Empty the main yggdrasil.service ExecStart line so it can be overwritten
|
|
|
|
ExecStart=
|
2024-10-04 13:21:21 +03:00
|
|
|
# Contained in `systemd-path search-binaries-default`
|
|
|
|
ExecStart=mullvad-exclude yggdrasil -useconffile /etc/yggdrasil.conf
|