1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pepettes_ynh.git synced 2024-09-03 19:56:35 +02:00

/var/log/$app security

This commit is contained in:
Alexandre Aubin 2021-09-24 14:33:56 +02:00 committed by GitHub
parent 5cc2d3ffd6
commit 9eae72c8e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 <<EOF >> wsgi.py
from server import app