php-fpm: redirect stdout/err of child processes
This commit is contained in:
parent
f51f7d723e
commit
15918a7e1b
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue