From 6f60de18380dce4a97775257e13d65fedaef7777 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Mon, 28 Sep 2020 21:31:50 +0200 Subject: [PATCH] Socket need to be accessible by apache --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 10f9d71..e7fd003 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -15,7 +15,7 @@ python manage.py collectstatic --no-input # harakiri parameter respawns processes taking more than 20 seconds # max-requests parameter respawns processes after serving 5000 requests # vacuum parameter cleans up when stopped -uwsgi --socket "$(pwd)/uwsgi.sock" --chmod-socket=600 --master --plugins python3 \ +uwsgi --socket "$HOME/www/uwsgi.sock" --chmod-socket=666 --master --plugins python3 \ --module med.wsgi:application --env DJANGO_SETTINGS_MODULE=med.settings \ --processes 4 --harakiri=20 --max-requests=5000 --vacuum \ --static-map /static="$(pwd)/static" --protocol=fastcgi