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

Merge pull request #9 from YunoHost-Apps/varlogsecurity

/var/log/$app security
This commit is contained in:
yalh76 2021-10-11 19:45:10 +02:00 committed by GitHub
commit 733b2dd5cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

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

View file

@ -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
#=================================================

View file

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