2022-10-07 05:02:59 +08:00
|
|
|
[supervisord]
|
|
|
|
nodaemon=true
|
|
|
|
nodaemon=true
|
|
|
|
logfile=/var/log/supervisord/supervisord.log
|
|
|
|
pidfile=/var/run/supervisord/supervisord.pid
|
|
|
|
childlogdir=/var/log/supervisord/
|
|
|
|
logfile_maxbytes=50MB
|
|
|
|
logfile_backups=10
|
|
|
|
loglevel=error
|
|
|
|
|
|
|
|
[program:apache]
|
2022-12-05 17:54:34 +08:00
|
|
|
# stdout_logfile=/dev/stdout
|
|
|
|
# stdout_logfile_maxbytes=0
|
2022-10-07 05:02:59 +08:00
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|
|
|
|
command=apachectl -DFOREGROUND
|
|
|
|
|
|
|
|
[program:caddy]
|
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|
|
|
|
command=/usr/bin/caddy run --config /Caddyfile
|