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
1 changed files with 10 additions and 0 deletions

View File

@ -1,8 +1,18 @@
[supervisord]
nodaemon=true
logfile=/proc/self/fd/1
logfile_maxbytes=0
[program:phpfpm]
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]
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