php-fpm: redirect stdout/err of child processes

This commit is contained in:
Starbeamrainbowlabs 2023-12-16 13:43:58 +00:00
parent f51f7d723e
commit 15918a7e1b
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -1,8 +1,18 @@
[supervisord] [supervisord]
nodaemon=true nodaemon=true
logfile=/proc/self/fd/1
logfile_maxbytes=0
[program:phpfpm] [program:phpfpm]
command=/usr/sbin/php-fpm8.3 --nodaemonize --fpm-config /app/www.conf command=/usr/sbin/php-fpm8.3 --nodaemonize --fpm-config /app/www.conf
stdout_logfile=/proc/self/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/proc/self/fd/2
stderr_logfile_maxbytes=0
[program:lighttpd] [program:lighttpd]
command=/usr/sbin/lighttpd -D -f /app/lighttpd.conf command=/usr/sbin/lighttpd -D -f /app/lighttpd.conf
stdout_logfile=/proc/self/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/proc/self/fd/2
stderr_logfile_maxbytes=0