1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

move sock file to /var/run

This commit is contained in:
Kayou 2024-08-26 16:50:59 +02:00 committed by GitHub
parent ca5228c5e4
commit bf4e212a13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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";

View file

@ -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