mirror of
https://github.com/YunoHost-Apps/grocy_ynh.git
synced 2024-09-03 19:25:54 +02:00
Fix
This commit is contained in:
parent
4c89e932d4
commit
223f6982cd
2 changed files with 5 additions and 3 deletions
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue