diff --git a/conf/nginx.conf b/conf/nginx.conf index af9f8fc..27ad038 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -14,5 +14,5 @@ location __PATH__/ { uwsgi_read_timeout 3600; uwsgi_param SCRIPT_NAME __PATH__; uwsgi_modifier1 30; - uwsgi_pass unix:///var/run/__NAME__/app.socket; + uwsgi_pass unix:///run/__NAME__/app.socket; } diff --git a/conf/uwsgi.ini b/conf/uwsgi.ini index 9b8c360..924c817 100644 --- a/conf/uwsgi.ini +++ b/conf/uwsgi.ini @@ -2,7 +2,7 @@ plugins = python master = true protocol = uwsgi -socket = /var/run/__APP__/app.socket +socket = /run/__APP__/app.socket chmod-socket = 660 virtualenv = __FINALPATH__/local wsgi-file = __FINALPATH__/syncserver.wsgi diff --git a/scripts/experimental_helper.sh b/scripts/experimental_helper.sh index 7cf29bc..6f87354 100644 --- a/scripts/experimental_helper.sh +++ b/scripts/experimental_helper.sh @@ -13,7 +13,7 @@ After=syslog.target RuntimeDirectory=%i ExecStart=/usr/bin/uwsgi \ --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 User=%i Group=www-data