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 <noreply@anthropic.com>
This commit is contained in:
1 parent
47896bbe49
commit
a2bef5d662
2 files changed
+9
No files matched your search
@@ -6,3 +6,6 @@ BAK/*
|
||||
/nextcloud*
|
||||
/log_*
|
||||
/conf/*.conf
|
||||
|
||||
# Claude Code (lokale Berechtigungen)
|
||||
.claude/settings.json
|
||||
@@ -5657,6 +5657,9 @@ echo "cat <<EOF > /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 <<EOF > /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
|
||||
|
||||
Reference in new issue
Block a user