delay restart for tinyproxy otherwise it fails on openvpn restarts
This commit is contained in:
parent
d62702f092
commit
2a87816161
1 changed files with 3 additions and 0 deletions
|
@ -123,6 +123,9 @@ in
|
||||||
KillSignal = "SIGINT";
|
KillSignal = "SIGINT";
|
||||||
TimeoutStopSec = "30s";
|
TimeoutStopSec = "30s";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
|
RestartSec = "1s";
|
||||||
|
RestartSteps = "3";
|
||||||
|
RestartMaxDelaySec = "10s";
|
||||||
ConfigurationDirectory = "tinyproxy";
|
ConfigurationDirectory = "tinyproxy";
|
||||||
};
|
};
|
||||||
preStart = concatStringsSep "\n" ([
|
preStart = concatStringsSep "\n" ([
|
||||||
|
|
Loading…
Reference in a new issue