Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-07-20 01:43:53 +0300
committerthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-07-20 01:43:53 +0300
commit60692fe9bc0a0098512c76f43360174af70fbe1a (patch)
treeeea8916787c420a60ff669ed92a7ab59e78a3bc5 /bin
parent7af7582fffe521d166fc6bcf6999602a29131337 (diff)
Fix notify_push sometimes using wrong URL
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ncp-update-nc8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/ncp-update-nc b/bin/ncp-update-nc
index 87128913..84698431 100755
--- a/bin/ncp-update-nc
+++ b/bin/ncp-update-nc
@@ -199,12 +199,14 @@ else
cat > /etc/systemd/system/notify_push.service <<EOF
[Unit]
Description = Push daemon for Nextcloud clients
-After = mysql.service
+After=mysql.service
+After=redis.service
+Requires=redis.service
[Service]
-Environment = PORT=7867
+Environment=PORT=7867
Environment=NEXTCLOUD_URL=https://localhost
-ExecStart = /var/www/nextcloud/apps/notify_push/bin/"${arch}"/notify_push --allow-self-signed /var/www/nextcloud/config/config.php
+ExecStart=/var/www/nextcloud/apps/notify_push/bin/"${arch}"/notify_push --allow-self-signed /var/www/nextcloud/config/config.php
User=www-data
[Install]