systemd/user/protonvpn: disable timeouts, restart on failure

This commit is contained in:
Aminda Suomalainen 2021-03-18 16:32:18 +02:00
parent 6f8c7de6af
commit 6870d6ce77
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -9,6 +9,8 @@ Type=forking
ExecStartPre=sleep 60
ExecStart=protonvpn-cli connect --p2p
# ExecStop runs after forking leading into immediate disconnect!
TimeOutSec=infinity
Restart=on-failure
[Install]
WantedBy=default.target