29 lines
652 B
Plaintext
29 lines
652 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
user=root
|
|
logfile=/dev/stdout
|
|
logfile_maxbytes=0
|
|
pidfile=/var/run/supervisord.pid
|
|
|
|
[supervisorctl]
|
|
|
|
[group:webserver]
|
|
programs=webserver-nginx,webserver-phpfpm
|
|
|
|
[program:webserver-nginx]
|
|
command=/usr/sbin/nginx -g 'daemon off;'
|
|
autostart=true
|
|
autorestart=true
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:webserver-phpfpm]
|
|
command=/usr/local/sbin/php-fpm --nodaemonize --fpm-config /usr/local/etc/php-fpm.d/www.conf
|
|
autostart=true
|
|
autorestart=true
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0 |