mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 11:12:48 +01:00
17 lines
445 B
Desktop File
17 lines
445 B
Desktop File
[Unit]
|
|
Description=Connect Mullvad VPN on user login
|
|
After=mullvad-daemon.service network-online.target dbus.socket
|
|
Requires=mullvad-daemon.service network-online.target dbus.socket
|
|
|
|
[Service]
|
|
Type=forking
|
|
# Not necessary as the daemon is already up at this time
|
|
#ExecStartPre=sleep 60
|
|
ExecStart=mullvad connect
|
|
# ExecStop runs after forking leading into immediate disconnect!
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
|
|
[Install]
|
|
WantedBy=default.target
|