From b9b986aca25980a708c0136f213bb0867a1394c6 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Tue, 3 Sep 2024 18:16:27 +0300 Subject: [PATCH] Zapret : Restart every hour. --- module/Zapret.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/module/Zapret.nix b/module/Zapret.nix index 2c47d4c..c6bef54 100644 --- a/module/Zapret.nix +++ b/module/Zapret.nix @@ -62,8 +62,9 @@ in { Type = "simple"; PIDFile = "/run/nfqws.pid"; ExecReload = "/bin/kill -HUP $MAINPID"; - Restart = "always"; - RestartSec = "5s"; + Restart = "always"; + RestartSec = "5s"; + RuntimeMaxSec = "1h"; }; };