shell-things/etc/systemd/user/protonvpn-user.service
2024-04-26 13:05:08 +03:00

17 lines
408 B
Desktop File

[Unit]
Description=ProtonVPN connection
After=network-online.target dbus.socket
Wants=network-online.target dbus.socket
[Service]
Type=forking
# ProtonVPN CLI v3.3.1 (protonvpn-nm-lib v0.4.2; proton-client v0.3.0)
ExecStartPre=sleep 60
ExecStart=protonvpn-cli connect --p2p
# ExecStop runs after forking leading into immediate disconnect!
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=default.target