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:
parent
069feeca1d
commit
5ed949aeaa
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue