From a2bef5d66267fef5acb8b23fa441aa050dafbf88 Mon Sep 17 00:00:00 2001 From: Christoph Date: Thu, 19 Nov 2026 20:41:10 +0100 Subject: [PATCH] install_nextcloud.sh: start notify_push after database and redis. notify_push failed at boot because it started before the database socket existed and only came up after RestartSec (60s). Add Wants/After for network-online, mariadb/mysql, postgresql and redis to the generated 'notify_push.service'. .gitignore: ignore local Claude Code settings (.claude/settings.json). Co-Authored-By: Claude Opus 5.5 --- .gitignore | 3 +++ install_nextcloud.sh | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/.gitignore b/.gitignore index f632b68..3916a6f 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,6 @@ BAK/* /nextcloud* /log_* /conf/*.conf + +# Claude Code (lokale Berechtigungen) +.claude/settings.json diff --git a/install_nextcloud.sh b/install_nextcloud.sh index 6cf541f..511e77a 100755 --- a/install_nextcloud.sh +++ b/install_nextcloud.sh @@ -5657,6 +5657,9 @@ echo "cat < /etc/systemd/system/notify_push.service [Unit] Description = Push daemon for Nextcloud clients Documentation=https://github.com/nextcloud/notify_push +# Start only after database and redis are up (otherwise notify_push fails at boot) +Wants=network-online.target +After=network-online.target mariadb.service mysql.service postgresql.service redis-server.service [Service] # Change if you already have something running on this port @@ -5679,6 +5682,9 @@ cat < /etc/systemd/system/notify_push.service 2>> $log_file [Unit] Description = Push daemon for Nextcloud clients Documentation=https://github.com/nextcloud/notify_push +# Start only after database and redis are up (otherwise notify_push fails at boot) +Wants=network-online.target +After=network-online.target mariadb.service mysql.service postgresql.service redis-server.service [Service] # Change if you already have something running on this port