From 6c24a28ea63a277e8c040bd2c2611067351f1279 Mon Sep 17 00:00:00 2001 From: ajs124 Date: Mon, 20 Feb 2023 12:19:05 +0100 Subject: [PATCH] nixos/nextcloud-notify_push: add some restart config to the service --- nixos/modules/services/web-apps/nextcloud-notify_push.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/web-apps/nextcloud-notify_push.nix b/nixos/modules/services/web-apps/nextcloud-notify_push.nix index e86f21207a73..ccfea499c188 100644 --- a/nixos/modules/services/web-apps/nextcloud-notify_push.nix +++ b/nixos/modules/services/web-apps/nextcloud-notify_push.nix @@ -84,6 +84,8 @@ in User = "nextcloud"; Group = "nextcloud"; RuntimeDirectory = [ "nextcloud-notify_push" ]; + Restart = "on-failure"; + RestartSec = "5s"; }; };