From 4733a38bc5a6054add1b7d635dc773ca10195c16 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sat, 6 Jan 2024 14:52:03 +0200 Subject: [PATCH] conf/systemd: replace unknown TimeOutSec with RestartSec --- conf/systemd/user/mullvad-connect.service | 2 +- conf/systemd/user/nordvpn-connect.service | 2 +- conf/systemd/user/protonvpn-user.service | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/systemd/user/mullvad-connect.service b/conf/systemd/user/mullvad-connect.service index e306199f..7344b1f7 100644 --- a/conf/systemd/user/mullvad-connect.service +++ b/conf/systemd/user/mullvad-connect.service @@ -9,8 +9,8 @@ Type=forking #ExecStartPre=sleep 60 ExecStart=mullvad connect # ExecStop runs after forking leading into immediate disconnect! -TimeOutSec=infinity Restart=on-failure +RestartSec=5s [Install] WantedBy=default.target diff --git a/conf/systemd/user/nordvpn-connect.service b/conf/systemd/user/nordvpn-connect.service index 53f8dfdc..c72f8329 100644 --- a/conf/systemd/user/nordvpn-connect.service +++ b/conf/systemd/user/nordvpn-connect.service @@ -9,8 +9,8 @@ Type=forking #ExecStartPre=sleep 60 ExecStart=/usr/bin/nordvpn connect p2p # ExecStop runs after forking leading into immediate disconnect! -TimeOutSec=infinity Restart=on-failure +RestartSec=5s [Install] WantedBy=default.target diff --git a/conf/systemd/user/protonvpn-user.service b/conf/systemd/user/protonvpn-user.service index 9bd5d23a..86673cff 100644 --- a/conf/systemd/user/protonvpn-user.service +++ b/conf/systemd/user/protonvpn-user.service @@ -9,8 +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 +RestartSec=5s [Install] WantedBy=default.target