From 36c89c5afb0f272064d1f68ca227a3f9913df256 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 26 Jul 2020 20:06:47 +0200 Subject: [PATCH] fix --- conf/nginx.conf | 1 - scripts/_common.sh | 2 +- scripts/backup | 2 +- scripts/install | 2 -- scripts/upgrade | 1 - 5 files changed, 2 insertions(+), 6 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 9d03489..35862ae 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -25,6 +25,5 @@ location __PATH__/ { fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $request_filename; } - } diff --git a/scripts/_common.sh b/scripts/_common.sh index 224cc38..b0cbf30 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -7,7 +7,7 @@ # dependencies used by the app #pkg_dependencies="" -YNH_PHP_VERSION="7.3" +#YNH_PHP_VERSION="7.3" #================================================= # PERSONAL HELPERS diff --git a/scripts/backup b/scripts/backup index 2e3fbc4..9cdbc15 100644 --- a/scripts/backup +++ b/scripts/backup @@ -49,7 +49,7 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" # BACKUP THE PHP-FPM CONFIGURATION #================================================= -ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" +ynh_backup --src_path="/etc/php/7.0/fpm/pool.d/$app.conf" #================================================= # END OF SCRIPT diff --git a/scripts/install b/scripts/install index bcf03eb..94741aa 100644 --- a/scripts/install +++ b/scripts/install @@ -80,8 +80,6 @@ ynh_system_user_create --username=$app #================================================= ynh_script_progression --message="Configuring PHP-fpm..." --time --weight=1 -phpversion=$(ynh_app_setting_get --app="$app" --key=phpversion) - # Create a dedicated php-fpm config ynh_add_fpm_config diff --git a/scripts/upgrade b/scripts/upgrade index 9708089..eca06ff 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -20,7 +20,6 @@ domain=$(ynh_app_setting_get --app=$app --key=domain) path_url=$(ynh_app_setting_get --app=$app --key=path) is_public=$(ynh_app_setting_get --app=$app --key=is_public) final_path=$(ynh_app_setting_get --app=$app --key=final_path) -phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= # CHECK VERSION