From 2a878161616fd31925e5f78942a442fac673ad14 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Thu, 12 Oct 2023 13:37:09 -0700 Subject: [PATCH] delay restart for tinyproxy otherwise it fails on openvpn restarts --- modules/tinyproxy.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/tinyproxy.nix b/modules/tinyproxy.nix index ca400f1..3a6296c 100644 --- a/modules/tinyproxy.nix +++ b/modules/tinyproxy.nix @@ -123,6 +123,9 @@ in KillSignal = "SIGINT"; TimeoutStopSec = "30s"; Restart = "on-failure"; + RestartSec = "1s"; + RestartSteps = "3"; + RestartMaxDelaySec = "10s"; ConfigurationDirectory = "tinyproxy"; }; preStart = concatStringsSep "\n" ([