Apply suggestion from @szaimen

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L.
2026-04-27 17:57:47 +02:00
committed by GitHub
parent 457a0d9fef
commit 461f9e14c1

View File

@@ -264,7 +264,7 @@ RUN set -ex; \
# never reaped. Over time these zombies fill up pm.max_children, leaving no
# free slots for legitimate requests and causing Apache to return 502 Bad
# Gateway upstream.
sed -i 's|^;*request_terminate_timeout = .*|request_terminate_timeout = ${PHP_MAX_TIME}|' /usr/local/etc/php-fpm.d/www.conf; \
sed -i "s|^;*request_terminate_timeout = .*|request_terminate_timeout = \${PHP_MAX_TIME}|" /usr/local/etc/php-fpm.d/www.conf; \
sed -i 's|access.log = /proc/self/fd/2|access.log = /proc/self/fd/1|' /usr/local/etc/php-fpm.d/docker.conf; \
\
echo "[ -n \"\$TERM\" ] && [ -f /root.motd ] && cat /root.motd" >> /root/.bashrc; \