From 72b97427683370e424572e5ca68c8f7f1dfc8754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 23 Mar 2025 00:22:45 +0100 Subject: [PATCH] nixos/nextcloud-notify_push: add nextcloud-setup without it notify might start to early and then fail 5 times before nextcloud is even ready. --- nixos/modules/services/web-apps/nextcloud-notify_push.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/services/web-apps/nextcloud-notify_push.nix b/nixos/modules/services/web-apps/nextcloud-notify_push.nix index 1246a6e6394c..2efb73964160 100644 --- a/nixos/modules/services/web-apps/nextcloud-notify_push.nix +++ b/nixos/modules/services/web-apps/nextcloud-notify_push.nix @@ -83,9 +83,13 @@ in description = "Push daemon for Nextcloud clients"; documentation = [ "https://github.com/nextcloud/notify_push" ]; after = [ + "nextcloud-setup.service" "phpfpm-nextcloud.service" "redis-nextcloud.service" ]; + requires = [ + "nextcloud-setup.service" + ]; wantedBy = [ "multi-user.target" ]; environment = { NEXTCLOUD_URL = cfg.nextcloudUrl;