From 5ed949aeaa52531dc9d8ca1eba703191ab2f7614 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sat, 28 Nov 2020 18:03:06 +0100 Subject: [PATCH] Remplace /var/run by /run --- conf/nginx.conf | 2 +- conf/uwsgi.ini | 2 +- scripts/experimental_helper.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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