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:
parent
ca5228c5e4
commit
bf4e212a13
2 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue