diff --git a/container/Download.nix b/container/Download.nix index 1c83175..a29b6ae 100644 --- a/container/Download.nix +++ b/container/Download.nix @@ -51,6 +51,7 @@ in { systemd.services.deluged.serviceConfig = { MemoryLimit = cfg.memLimit; + Restart = lib.mkForce "always"; RuntimeMaxSec = "1d"; }; }; diff --git a/module/Zapret.nix b/module/Zapret.nix index c6bef54..5a3eb11 100644 --- a/module/Zapret.nix +++ b/module/Zapret.nix @@ -63,7 +63,7 @@ in { PIDFile = "/run/nfqws.pid"; ExecReload = "/bin/kill -HUP $MAINPID"; Restart = "always"; - RestartSec = "5s"; + # RestartSec = "5s"; RuntimeMaxSec = "1h"; }; };