mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Merge pull request #26 from Limezy/v9.0.4
This commit is contained in:
commit
f6f2815ea9
3 changed files with 12 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -5,7 +5,7 @@ name = "Moncycle"
|
|||
description.en = "Menstrual cycle follow-up for natural family planning"
|
||||
description.fr = "Suivi de cycle pour les méthodes naturelles de régulation de naissance"
|
||||
|
||||
version = "9.0~ynh3"
|
||||
version = "9.0~ynh4"
|
||||
|
||||
maintainers = ["Raoul de Limezy"]
|
||||
|
||||
|
|
|
@ -92,6 +92,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