1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grocy_ynh.git synced 2024-09-03 19:25:54 +02:00
This commit is contained in:
ericgaspar 2021-11-16 09:19:45 +01:00
parent 4c89e932d4
commit 223f6982cd
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 5 additions and 3 deletions

View file

@ -24,6 +24,7 @@ domain=$YNH_APP_ARG_DOMAIN
path_url="/" path_url="/"
is_public=$YNH_APP_ARG_IS_PUBLIC is_public=$YNH_APP_ARG_IS_PUBLIC
language=$YNH_APP_ARG_LANGUAGE language=$YNH_APP_ARG_LANGUAGE
phpversion=$YNH_PHP_VERSION
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME
@ -95,6 +96,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#================================================= #=================================================
# MODIFY A CONFIG FILE # MODIFY A CONFIG FILE
#================================================= #=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template="../conf/config-dist.php" --destination="$final_path/data/config.php" ynh_add_config --template="../conf/config-dist.php" --destination="$final_path/data/config.php"

View file

@ -111,10 +111,10 @@ ynh_add_fpm_config
# MODIFY A CONFIG FILE # MODIFY A CONFIG FILE
#================================================= #=================================================
ynh_add_config --template="../conf/config-dist.php" --destination="$final_path/data/config.php" #ynh_add_config --template="../conf/config-dist.php" --destination="$final_path/data/config.php"
chmod 400 "$final_path/data/config.php" #chmod 400 "$final_path/data/config.php"
chown $app "$final_path/data/config.php" #chown $app "$final_path/data/config.php"
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX