From 8faa61e4aed4d1f81629cedd01a044c9e624bfef Mon Sep 17 00:00:00 2001 From: polytan02 Date: Sun, 5 Mar 2017 18:44:41 +0000 Subject: [PATCH] Update of php-fpm for upgrade script --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 48261f4..ee68e43 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -58,7 +58,7 @@ sudo chmod 644 /etc/nginx/conf.d/$domain.d/$app.conf # If a dedicated php-fpm process is used: # # Modify PHP-FPM pool configuration and copy it to the pool directory sed -i "s@YNH_WWW_APP@$app@g" ../conf/php-fpm.conf -sed -i "s@YNH_WWW_ALIAS@$app/@g" ../conf/php-fpm.conf +sed -i "s@YNH_WWW_ALIAS@$final_path@g" ../conf/php-fpm.conf finalphpconf=/etc/php5/fpm/pool.d/$app.conf sudo cp ../conf/php-fpm.conf $finalphpconf sudo chown root: $finalphpconf