This commit is contained in:
ericgaspar
2021-12-22 08:30:36 +01:00
parent 1d240652b2
commit b18def9c2e
8 changed files with 18 additions and 40 deletions
+2 -3
View File
@@ -21,7 +21,7 @@ ynh_abort_if_errors
#=================================================
domain=$YNH_APP_ARG_DOMAIN
path_url=$YNH_APP_ARG_PATH
path_url="/"
admin=$YNH_APP_ARG_ADMIN
language=$YNH_APP_ARG_LANGUAGE
is_public=$YNH_APP_ARG_IS_PUBLIC
@@ -115,7 +115,7 @@ ynh_add_nginx_config
ynh_script_progression --message="Configuring PHP-FPM..."
# Create a dedicated php-fpm config
ynh_add_fpm_config --package="$extra_php_dependencies"
ynh_add_fpm_config
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#=================================================
@@ -133,7 +133,6 @@ pushd "$final_path"
popd
ynh_app_setting_set --app=$app --key=app_key --value=$app_key
chmod 400 "$final_path/.env"
chown $app:$app "$final_path/.env"