From e96c52efdb23e7cd1a3d166074111b092f75e7c9 Mon Sep 17 00:00:00 2001 From: Symphorien Gibol Date: Fri, 8 May 2020 12:00:00 +0000 Subject: [PATCH] tt-rss: restart on failure as should be the default with all long-running services --- nixos/modules/services/web-apps/tt-rss.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/web-apps/tt-rss.nix b/nixos/modules/services/web-apps/tt-rss.nix index 34ce1c60550..831687e1161 100644 --- a/nixos/modules/services/web-apps/tt-rss.nix +++ b/nixos/modules/services/web-apps/tt-rss.nix @@ -634,6 +634,8 @@ let ExecStart = "${pkgs.php}/bin/php ${cfg.root}/update.php --daemon --quiet"; StandardOutput = "syslog"; StandardError = "syslog"; + Restart = "on-failure"; + RestartSec = "60"; }; wantedBy = [ "multi-user.target" ];