From 05f7c3a3b78a87f48793deccbed944f260668bf5 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 14 Jan 2024 16:28:51 +0100 Subject: [PATCH] helpers/php: quote vars to avoid stupid issues with name in path which may happen in backup restore context... --- helpers/php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helpers/php b/helpers/php index ee3d35cb1..7fbe3f1ba 100644 --- a/helpers/php +++ b/helpers/php @@ -200,19 +200,19 @@ pm = __PHP_PM__ pm.max_children = __PHP_MAX_CHILDREN__ pm.max_requests = 500 request_terminate_timeout = 1d -" >$phpfpm_path +" >"$phpfpm_path" if [ "$php_pm" = "dynamic" ]; then echo " pm.start_servers = __PHP_START_SERVERS__ pm.min_spare_servers = __PHP_MIN_SPARE_SERVERS__ pm.max_spare_servers = __PHP_MAX_SPARE_SERVERS__ -" >>$phpfpm_path +" >>"$phpfpm_path" elif [ "$php_pm" = "ondemand" ]; then echo " pm.process_idle_timeout = 10s -" >>$phpfpm_path +" >>"$phpfpm_path" fi # Concatene the extra config.