mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +01:00
17 lines
644 B
Plaintext
17 lines
644 B
Plaintext
# Split-tunneling Yggdrasil outside of Mullvad VPN (won't work without it)
|
|
|
|
[Unit]
|
|
# Don't start until mullvad-daemon is online to allow excluding
|
|
Requires=mullvad-daemon.service
|
|
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)
|
|
#ExecStartPre=sleep 45
|
|
# Empty the main yggdrasil.service ExecStart line so it can be overwritten
|
|
ExecStart=
|
|
# Contained in `systemd-path search-binaries-default`
|
|
ExecStart=mullvad-exclude yggdrasil -useconffile /etc/yggdrasil.conf
|