We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9cee78 commit 9409c11Copy full SHA for 9409c11
1 file changed
bin/ncp/CONFIG/nc-nextcloud.sh
@@ -215,12 +215,14 @@ EOF
215
cat > /etc/systemd/system/notify_push.service <<EOF
216
[Unit]
217
Description = Push daemon for Nextcloud clients
218
-After = mysql.service
+After=mysql.service
219
+After=redis.service
220
+Requires=redis.service
221
222
[Service]
-Environment = PORT=7867
-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
+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
226
User=www-data
227
228
[Install]
0 commit comments