From f83b3770dd401004bef0233c3de0eb07686788a5 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 17 Oct 2015 11:17:54 +0200 Subject: krebs 2 Reaktor: Delay Restart of Reaktor - avoid fast restart loops --- krebs/3modules/Reaktor.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'krebs/3modules') diff --git a/krebs/3modules/Reaktor.nix b/krebs/3modules/Reaktor.nix index 82089a660..1ec49b81e 100644 --- a/krebs/3modules/Reaktor.nix +++ b/krebs/3modules/Reaktor.nix @@ -126,9 +126,8 @@ let ExecStart = "${pkgs.Reaktor}/bin/reaktor run /tmp/config.py"; PrivateTmp = "true"; User = "Reaktor"; - Restart = "on-abort"; - StartLimitInterval = "1m"; - StartLimitBurst = "1"; + Restart = "always"; + RestartSec= "30" ; }; }; }; -- cgit v1.2.3