[supervisord]
childlogdir=/var/log/supervisord
logfile=/dev/stderr
logfile_maxbytes=0
nodaemon=true
user=root
[program:crond]
autostart=true
command=crond -f -l 2
redirect_stderr=true
[program:postfix]
autorestart=false
command=postfix start
startsecs=0
redirect_stderr=true
[program:spawn-fcgi]
autorestart=true
command=spawn-fcgi -n -u nginx -p 9000 -- /usr/bin/fcgiwrap -f
redirect_stderr=true
[program:metasrht]
autorestart=true
command=gunicorn metasrht.app:app -b 127.0.0.1:5000 -c /etc/sr.ht/meta.sr.ht.gunicorn.conf.py
redirect_stderr=true
[program:metasrht-api]
autorestart=true
command=metasrht-api
redirect_stderr=true
[program:nginx]
autostart=true
command=nginx -g 'daemon off;'
redirect_stderr=true