mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-21 02:40:09 +00:00
Apply suggestion from @szaimen
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
@@ -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; \
|
||||
|
||||
Reference in New Issue
Block a user