nixos/nextcloud-notify_push: add nextcloud-setup

without it notify might start to early and then fail 5 times before
nextcloud is even ready.
This commit is contained in:
Sandro Jäckel
2025-03-23 00:27:09 +01:00
parent 60f124c34b
commit 72b9742768
@@ -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;