about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorajs124 <git@ajs124.de>2023-02-20 12:19:05 +0100
committerajs124 <git@ajs124.de>2023-02-21 15:05:17 +0100
commit6c24a28ea63a277e8c040bd2c2611067351f1279 (patch)
treebbae62bde39890ff0c98d263088b12031b2cc81b /nixos
parent671bd1ef7a64714c51d294a83c76200e570d12de (diff)
nixos/nextcloud-notify_push: add some restart config to the service
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/web-apps/nextcloud-notify_push.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/web-apps/nextcloud-notify_push.nix b/nixos/modules/services/web-apps/nextcloud-notify_push.nix
index e86f21207a73f..ccfea499c1881 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";
       };
     };