diff --git a/conf/nginx.conf b/conf/nginx.conf index 1f3c053..7cad30e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -166,7 +166,7 @@ location ^~ __PATH__/ { } __STRING_USE_NOTIFY_PUSH__location ^~ __PATH__/push/ { - __STRING_USE_NOTIFY_PUSH__ proxy_pass http://unix:/var/run/__APP__/notify-push.sock:/; + __STRING_USE_NOTIFY_PUSH__ proxy_pass http://unix:__FINAL_PATH__/notify-push.sock:/; __STRING_USE_NOTIFY_PUSH__ proxy_http_version 1.1; __STRING_USE_NOTIFY_PUSH__ proxy_set_header Upgrade $http_upgrade; __STRING_USE_NOTIFY_PUSH__ proxy_set_header Connection "Upgrade"; diff --git a/conf/systemd.service b/conf/systemd.service index ef9e7b6..3392f20 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -2,7 +2,7 @@ Description = Push daemon for Nextcloud clients [Service] -Environment=SOCKET_PATH=/var/run/__APP__/notify-push.sock +Environment=SOCKET_PATH=__FINAL_PATH__/notify-push.sock Environment=NEXTCLOUD_URL=https://__DOMAIN____PATH__ Environment=ALLOW_SELF_SIGNED=true ExecStart=__FINAL_PATH__/apps/notify_push/bin/x86_64/notify_push __FINAL_PATH__/config/config.php