From f520c9894b02eb30c02bccdcdf00c11ca50beffd Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Holcroft Date: Thu, 26 Oct 2017 11:28:13 +0200 Subject: [PATCH] Fix upgrade --- conf/php-fpm.conf | 4 ++-- scripts/upgrade | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index 7bf8588..22f4b68 100644 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -135,7 +135,7 @@ pm.max_requests = 500 ; anything, but it may not be a good idea to use the .php extension or it ; may conflict with a real PHP file. ; Default Value: not set -pm.status_path = /fpm-status +; pm.status_path = /fpm-status ; The ping URI to call the monitoring page of FPM. If this value is not set, no ; URI will be recognized as a ping page. This could be used to test from outside @@ -147,7 +147,7 @@ pm.status_path = /fpm-status ; anything, but it may not be a good idea to use the .php extension or it ; may conflict with a real PHP file. ; Default Value: not set -ping.path = /ping +; ping.path = /ping ; This directive may be used to customize the response of a ping request. The ; response is formatted as text/plain with a 200 response code. diff --git a/scripts/upgrade b/scripts/upgrade index 7fe1086..62db76e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -31,7 +31,7 @@ is_public=$(ynh_app_setting_get "$app" is_public) db_name=$(ynh_app_setting_get $app db_name) dbuser=$app dbpass=$(ynh_app_setting_get "$app" mysqlpwd) -final_path=(ynh_app_setting_get "$app" final_path) +final_path=$(ynh_app_setting_get "$app" final_path) #================================================= # ENSURE DOWNWARD COMPATIBILITY