diff options
author | thecalcaholic <6317548+theCalcaholic@users.noreply.github.com> | 2022-07-20 01:43:53 +0300 |
---|---|---|
committer | thecalcaholic <6317548+theCalcaholic@users.noreply.github.com> | 2022-07-20 01:43:53 +0300 |
commit | 60692fe9bc0a0098512c76f43360174af70fbe1a (patch) | |
tree | eea8916787c420a60ff669ed92a7ab59e78a3bc5 /bin | |
parent | 7af7582fffe521d166fc6bcf6999602a29131337 (diff) |
Fix notify_push sometimes using wrong URL
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ncp-update-nc | 8 |
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] |