diff --git a/scripts/install b/scripts/install index 059dcff..337a4a8 100755 --- a/scripts/install +++ b/scripts/install @@ -127,6 +127,7 @@ pushd $final_path venv/bin/pip install gunicorn mkdir -p /var/log/$app chown -R $app:www-data /var/log/$app + chmod o-rwx /var/log/$app cat <> wsgi.py from server import app diff --git a/scripts/restore b/scripts/restore index 5ac7fdd..cc35ab0 100755 --- a/scripts/restore +++ b/scripts/restore @@ -91,6 +91,7 @@ pushd $final_path venv/bin/pip install gunicorn mkdir -p /var/log/$app chown -R $app:www-data /var/log/$app + chmod o-rwx /var/log/$app popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 91c7a70..7b88a17 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -114,6 +114,7 @@ pushd $final_path venv/bin/pip install gunicorn mkdir -p /var/log/$app chown -R $app:www-data /var/log/$app + chmod o-rwx /var/log/$app cat <> wsgi.py from server import app