mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-05 01:39:23 +01:00
17 lines
408 B
Desktop File
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
|