mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-20 10:09:29 +01:00
16 lines
390 B
Desktop File
16 lines
390 B
Desktop File
[Unit]
|
|
Description=Connect Mullvad VPN on user login
|
|
After=mullvad-daemon.service network-online.target dbus.socket
|
|
Wants=mullvad-daemon.service network-online.target dbus.socket
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStartPre=sleep 60
|
|
ExecStart=mullvad connect
|
|
# ExecStop runs after forking leading into immediate disconnect!
|
|
TimeOutSec=infinity
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=default.target
|