[include]
files = /etc/supervisor/conf.d/*.conf

[unix_http_server]
file=/tmp/supervisor.sock
username = dummy
password = dummy

[supervisorctl]
serverurl=unix:///tmp/supervisor.sock
username = dummy
password = dummy

[supervisord]
user=root
logfile=/var/project/storage/logs/supervisord.log
logfile_maxbytes=50MB
logfile_backups=10
loglevel=info
pidfile=/var/run/supervisord.pid
nodaemon=true
minfds=1024
minprocs=200

[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface

[program:php-fpm]
process_name=%(program_name)s_%(process_num)02d
numprocs=1
command=/usr/local/sbin/php-fpm
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/var/log/supervisord__%(program_name)s.log
stopwaitsecs=600
startsecs=0

[program:crond]
command=/usr/sbin/crond -f -l 8
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stderr_logfile=/dev/stderr
