mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
conf/systemd: replace unknown TimeOutSec with RestartSec
This commit is contained in:
parent
af016ae82e
commit
4733a38bc5
@ -9,8 +9,8 @@ Type=forking
|
|||||||
#ExecStartPre=sleep 60
|
#ExecStartPre=sleep 60
|
||||||
ExecStart=mullvad connect
|
ExecStart=mullvad connect
|
||||||
# ExecStop runs after forking leading into immediate disconnect!
|
# ExecStop runs after forking leading into immediate disconnect!
|
||||||
TimeOutSec=infinity
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
RestartSec=5s
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
@ -9,8 +9,8 @@ Type=forking
|
|||||||
#ExecStartPre=sleep 60
|
#ExecStartPre=sleep 60
|
||||||
ExecStart=/usr/bin/nordvpn connect p2p
|
ExecStart=/usr/bin/nordvpn connect p2p
|
||||||
# ExecStop runs after forking leading into immediate disconnect!
|
# ExecStop runs after forking leading into immediate disconnect!
|
||||||
TimeOutSec=infinity
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
RestartSec=5s
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
@ -9,8 +9,8 @@ Type=forking
|
|||||||
ExecStartPre=sleep 60
|
ExecStartPre=sleep 60
|
||||||
ExecStart=protonvpn-cli connect --p2p
|
ExecStart=protonvpn-cli connect --p2p
|
||||||
# ExecStop runs after forking leading into immediate disconnect!
|
# ExecStop runs after forking leading into immediate disconnect!
|
||||||
TimeOutSec=infinity
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
RestartSec=5s
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
Loading…
Reference in New Issue
Block a user