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:
commit
9b58e48184
7 changed files with 14 additions and 3 deletions
|
@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
A simple donation form with stripe
|
||||
|
||||
**Shipped version:** 1.0.1~ynh1
|
||||
**Shipped version:** 1.0.1~ynh2
|
||||
|
||||
**Demo:** https://donate.yunohost.org
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
|||
|
||||
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
|
||||
|
||||
|
|
|
@ -18,7 +18,15 @@
|
|||
setup_private=1
|
||||
setup_public=1
|
||||
upgrade=1
|
||||
# 1.0.1~ynh1
|
||||
upgrade=1 from_commit=5cc2d3ffd6529cc7356ff93af92dbb6785c3ab9a
|
||||
backup_restore=1
|
||||
multi_instance=1
|
||||
port_already_use=0
|
||||
change_url=1
|
||||
;;; Options
|
||||
Email=
|
||||
Notification=none
|
||||
;;; Upgrade options
|
||||
; commit=5cc2d3ffd6529cc7356ff93af92dbb6785c3ab9a
|
||||
name=1.0.1~ynh1
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "A simple donation form with 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/",
|
||||
"upstream": {
|
||||
"license": "MIT",
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue