From 5524095fa149c8aa76f59f2ca7fe9c11b3f23e21 Mon Sep 17 00:00:00 2001 From: "Rondineli G. Saad" Date: Fri, 23 Oct 2026 16:03:01 -0300 Subject: [PATCH] fix: preserve sed delimiter in FPM startup config --- docker/rocky9/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/rocky9/entrypoint.sh b/docker/rocky9/entrypoint.sh index 601141447..da1585067 100644 --- a/docker/rocky9/entrypoint.sh +++ b/docker/rocky9/entrypoint.sh @@ -18,7 +18,7 @@ if [[ ! "$SCIELO_FPM_MAX_CHILDREN_VALUE" =~ ^[0-9]+$ ]] \ exit 1 fi sed -ri \ - "s#^pm.max_children = .*$#pm.max_children = ${SCIELO_FPM_MAX_CHILDREN_VALUE}#" \ + "s#^pm[.]max_children = .*#pm.max_children = ${SCIELO_FPM_MAX_CHILDREN_VALUE}#" \ /etc/php-fpm.d/zz-scielo.conf # Ensure required def files exist.