From bf4e212a13f43f37a9965bb5a9d91ae75781414f Mon Sep 17 00:00:00 2001 From: Kayou Date: Mon, 26 Aug 2024 16:50:59 +0200 Subject: [PATCH] move sock file to /var/run --- conf/notify_push.conf | 2 +- conf/systemd.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/notify_push.conf b/conf/notify_push.conf index c377976..f2fb052 100644 --- a/conf/notify_push.conf +++ b/conf/notify_push.conf @@ -1,5 +1,5 @@ location ^~ __PATH__/push/ { - proxy_pass http://unix:__INSTALL_DIR__/notify-push.sock:/; + proxy_pass http://unix:/var/run/__APP__/notify-push.sock:/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; diff --git a/conf/systemd.service b/conf/systemd.service index 792d800..855a294 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -2,7 +2,7 @@ Description = Push daemon for Nextcloud clients [Service] -Environment=SOCKET_PATH=__INSTALL_DIR__/notify-push.sock +Environment=SOCKET_PATH=/var/run/__APP__/notify-push.sock Environment=ALLOW_SELF_SIGNED=true ExecStart=__INSTALL_DIR__/apps/notify_push/bin/__ARCH__/notify_push __INSTALL_DIR__/config/config.php Type=notify