1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ffsync_ynh.git synced 2024-09-03 18:26:38 +02:00

Remplace /var/run by /run

This commit is contained in:
Josué Tille 2020-11-28 18:03:06 +01:00
parent 069feeca1d
commit 5ed949aeaa
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF
3 changed files with 3 additions and 3 deletions

View file

@ -14,5 +14,5 @@ location __PATH__/ {
uwsgi_read_timeout 3600; uwsgi_read_timeout 3600;
uwsgi_param SCRIPT_NAME __PATH__; uwsgi_param SCRIPT_NAME __PATH__;
uwsgi_modifier1 30; uwsgi_modifier1 30;
uwsgi_pass unix:///var/run/__NAME__/app.socket; uwsgi_pass unix:///run/__NAME__/app.socket;
} }

View file

@ -2,7 +2,7 @@
plugins = python plugins = python
master = true master = true
protocol = uwsgi protocol = uwsgi
socket = /var/run/__APP__/app.socket socket = /run/__APP__/app.socket
chmod-socket = 660 chmod-socket = 660
virtualenv = __FINALPATH__/local virtualenv = __FINALPATH__/local
wsgi-file = __FINALPATH__/syncserver.wsgi wsgi-file = __FINALPATH__/syncserver.wsgi

View file

@ -13,7 +13,7 @@ After=syslog.target
RuntimeDirectory=%i RuntimeDirectory=%i
ExecStart=/usr/bin/uwsgi \ ExecStart=/usr/bin/uwsgi \
--ini /etc/uwsgi/apps-available/%i.ini \ --ini /etc/uwsgi/apps-available/%i.ini \
--socket /var/run/%i/app.socket \ --socket /run/%i/app.socket \
--logto /var/log/uwsgi/%i/%i.log --logto /var/log/uwsgi/%i/%i.log
User=%i User=%i
Group=www-data Group=www-data