Skip to content

Commit 9409c11

Browse files
committed
notify_push: Add dependency for redis service
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
1 parent d9cee78 commit 9409c11

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

bin/ncp/CONFIG/nc-nextcloud.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,14 @@ EOF
215215
cat > /etc/systemd/system/notify_push.service <<EOF
216216
[Unit]
217217
Description = Push daemon for Nextcloud clients
218-
After = mysql.service
218+
After=mysql.service
219+
After=redis.service
220+
Requires=redis.service
219221
220222
[Service]
221-
Environment = PORT=7867
222-
Environment = NEXTCLOUD_URL=https://localhost
223-
ExecStart = /var/www/nextcloud/apps/notify_push/bin/"${arch}"/notify_push --allow-self-signed /var/www/nextcloud/config/config.php
223+
Environment=PORT=7867
224+
Environment=NEXTCLOUD_URL=https://localhost
225+
ExecStart=/var/www/nextcloud/apps/notify_push/bin/"${arch}"/notify_push --allow-self-signed /var/www/nextcloud/config/config.php
224226
User=www-data
225227
226228
[Install]

0 commit comments

Comments
 (0)