random-web-tools/docker/conf/etc/supervisor/supervisord.conf

30 lines
676 B
Plaintext
Raw Normal View History

2024-11-04 16:45:27 +02:00
[supervisord]
logfile=/var/log/supervisord.log
logfile_maxbytes=50MB
childlogdir=/var/log
pidfile=/var/run/supervisord.pid
nodaemon=true
user=root
[supervisorctl]
[program:misc-rsyslog]
command=/usr/sbin/rsyslogd -n
autostart=true
autorestart=true
stdout_logfile=/var/log/supervisor/%(program_name)s.log
stderr_logfile=/var/log/supervisor/%(program_name)s.log
[group:webserver]
programs=webserver-nginx,webserver-phpfpm
[program:webserver-nginx]
command=/usr/sbin/nginx -g 'daemon off;'
autostart=true
autorestart=true
[program:webserver-phpfpm]
command=/usr/local/sbin/php-fpm --nodaemonize --fpm-config /usr/local/etc/php-fpm.d/www.conf
autostart=true
autorestart=true