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:
parent
5cc2d3ffd6
commit
9eae72c8e4
1 changed files with 1 additions and 0 deletions
|
@ -127,6 +127,7 @@ pushd $final_path
|
||||||
venv/bin/pip install gunicorn
|
venv/bin/pip install gunicorn
|
||||||
mkdir -p /var/log/$app
|
mkdir -p /var/log/$app
|
||||||
chown -R $app:www-data /var/log/$app
|
chown -R $app:www-data /var/log/$app
|
||||||
|
chmod o-rwx /var/log/$app
|
||||||
cat <<EOF >> wsgi.py
|
cat <<EOF >> wsgi.py
|
||||||
from server import app
|
from server import app
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue