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 #10 from YunoHost-Apps/testing

/var/log/$app security
This commit is contained in:
yalh76 2021-10-13 21:17:23 +02:00 committed by GitHub
commit 9b58e48184
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 14 additions and 3 deletions

View file

@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
A simple donation form with stripe A simple donation form with stripe
**Shipped version:** 1.0.1~ynh1 **Shipped version:** 1.0.1~ynh2
**Demo:** https://donate.yunohost.org **Demo:** https://donate.yunohost.org

View file

@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Un simple formulaire de don avec stripe Un simple formulaire de don avec stripe
**Version incluse :** 1.0.1~ynh1 **Version incluse :** 1.0.1~ynh2
**Démo :** https://donate.yunohost.org **Démo :** https://donate.yunohost.org

View file

@ -18,7 +18,15 @@
setup_private=1 setup_private=1
setup_public=1 setup_public=1
upgrade=1 upgrade=1
# 1.0.1~ynh1
upgrade=1 from_commit=5cc2d3ffd6529cc7356ff93af92dbb6785c3ab9a
backup_restore=1 backup_restore=1
multi_instance=1 multi_instance=1
port_already_use=0 port_already_use=0
change_url=1 change_url=1
;;; Options
Email=
Notification=none
;;; Upgrade options
; commit=5cc2d3ffd6529cc7356ff93af92dbb6785c3ab9a
name=1.0.1~ynh1

View file

@ -6,7 +6,7 @@
"en": "A simple donation form with stripe", "en": "A simple donation form with stripe",
"fr": "Un simple formulaire de don avec stripe" "fr": "Un simple formulaire de don avec stripe"
}, },
"version": "1.0.1~ynh1", "version": "1.0.1~ynh2",
"url": "https://github.com/YunoHost/pepettes/", "url": "https://github.com/YunoHost/pepettes/",
"upstream": { "upstream": {
"license": "MIT", "license": "MIT",

View file

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

View file

@ -91,6 +91,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
popd popd
#================================================= #=================================================

View file

@ -114,6 +114,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