mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Merge branch 'testing' into v9.0.5
This commit is contained in:
commit
3d2740715d
4 changed files with 13 additions and 2 deletions
|
@ -35,7 +35,7 @@ Make it easy to monitor menstrual cycles and apply natural methods. Billings. Sy
|
|||
- automatic sending of cycles by email
|
||||
- no data sales/no advertising
|
||||
|
||||
**Shipped version:** 9.0~ynh3
|
||||
**Shipped version:** 9.0~ynh4
|
||||
|
||||
**Demo:** https://tableau.moncycle.app/connexion.php?email1=demo@moncycle.app&mdp=demo
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ Rendre facile le suivi des cycles menstruels et l’application des méthodes na
|
|||
- pas de vente de données/pas de publicité
|
||||
|
||||
|
||||
**Version incluse :** 9.0~ynh3
|
||||
**Version incluse :** 9.0~ynh4
|
||||
|
||||
**Démo :** https://tableau.moncycle.app/connexion.php?email1=demo@moncycle.app&mdp=demo
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@ location __PATH__/ {
|
|||
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
|
||||
fastcgi_index index.php;
|
||||
include fastcgi_params;
|
||||
fastcgi_intercept_errors on;
|
||||
fastcgi_param REMOTE_USER $remote_user;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
|
|
|
@ -101,6 +101,16 @@ ynh_add_config --template="../conf/moncycleapp.cron" --destination="/etc/cron.d/
|
|||
chown root: "/etc/cron.d/$app"
|
||||
chmod 644 "/etc/cron.d/$app"
|
||||
|
||||
#=================================================
|
||||
# ADD A CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||
|
||||
ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php"
|
||||
|
||||
chmod 400 "$install_dir/config.php"
|
||||
chown $app:$app "$install_dir/config.php"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue