diff --git a/conf/gunicorn.conf.py b/conf/gunicorn.conf.py index 5c3ae32..60fcdd1 100644 --- a/conf/gunicorn.conf.py +++ b/conf/gunicorn.conf.py @@ -4,4 +4,4 @@ debug = True workers = 3 logfile = "/var/log/ihatemoney/budget.gunicorn.log" loglevel = "info" -bind = "unix:/var/run/ihatemoney/budget.gunicorn.sock" +bind = "unix:/tmp/budget.gunicorn.sock" diff --git a/conf/nginx.conf b/conf/nginx.conf index a6c25f0..2a61105 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -13,7 +13,7 @@ location PATHTOCHANGE/ { proxy_busy_buffers_size 32k; proxy_intercept_errors on; if (!-f $request_filename) { - proxy_pass http://unix:/var/run/ihatemoney/budget.gunicorn.sock; + proxy_pass http://unix:/tmp/budget.gunicorn.sock; break; } diff --git a/scripts/install b/scripts/install index 69d1aef..259c55d 100755 --- a/scripts/install +++ b/scripts/install @@ -44,7 +44,7 @@ sudo chown -R www-data:www-data /opt/yunohost/ihatemoney/src/budget/static # Create various dirs sudo install -o ihatemoney -g ihatemoney -m 755 \ - -d /var/log/ihatemoney /etc/ihatemoney /var/run/ihatemoney/ + -d /var/log/ihatemoney /etc/ihatemoney # Configure gunicorn sudo install -o ihatemoney -g ihatemoney -m 644 \