[supervisord] loglevel=%(ENV_SUPERVISORLOGLEVEL)s directory=/tmp [inet_http_server] port = *:9001 username = %(ENV_DASUPERVISORUSERNAME)s password = %(ENV_DASUPERVISORPASSWORD)s [program:reset] command=bash /usr/share/docassemble/webapp/reset.sh user=www-data autostart=false autorestart=false exitcodes=0 startsecs=0 priority=600 [program:update] command=bash /usr/share/docassemble/webapp/update.sh user=www-data autostart=false autorestart=false exitcodes=0 startsecs=0 priority=600 [program:cron] command=/usr/sbin/cron -f user=0 autostart=false autorestart=false exitcodes=0 startsecs=1 priority=600 [program:nltk] command=bash /usr/share/docassemble/webapp/run-nltk.sh directory=/tmp user=www-data autostart=false autorestart=true exitcodes=0 startsecs=1 priority=600 [program:watchdog] command=bash /usr/share/docassemble/webapp/run-watchdog.sh user=0 autostart=true autorestart=true exitcodes=0 startsecs=1 priority=600 [program:syslogng] command=bash /usr/share/docassemble/webapp/run-syslogng.sh user=0 autostart=false autorestart=false exitcodes=0 startsecs=1 priority=300 [program:redis] command=bash /usr/share/docassemble/webapp/run-redis.sh user=0 autostart=false autorestart=false exitcodes=0 startsecs=1 priority=400 [program:rabbitmq] command=bash /usr/share/docassemble/webapp/run-rabbitmq.sh autostart=false autorestart=true startretries=1 startsecs=1 killasgroup=true stopwaitsecs=20 priority=350 [program:celery] command=bash /usr/share/docassemble/webapp/run-celery.sh directory=/tmp user=www-data numprocs=1 stdout_logfile=/usr/share/docassemble/log/worker.log stderr_logfile=/usr/share/docassemble/log/worker.log autostart=false autorestart=true startsecs=5 stopwaitsecs=60 killasgroup=true priority=500 [program:celerysingle] command=bash /usr/share/docassemble/webapp/run-celery-single.sh directory=/tmp user=www-data numprocs=1 stdout_logfile=/usr/share/docassemble/log/single_worker.log stderr_logfile=/usr/share/docassemble/log/single_worker.log autostart=false autorestart=true startsecs=5 stopwaitsecs=60 killasgroup=true priority=500 [program:postgres] command=bash /usr/share/docassemble/webapp/run-postgresql.sh user=0 process_name=%(program_name)s stopsignal=INT autostart=false autorestart=true startretries=1 startsecs=1 killasgroup=true stopwaitsecs=600 priority=400 [program:apache2] command=bash /usr/share/docassemble/webapp/run-apache.sh autostart=false autorestart=true startretries=2 startsecs=2 killasgroup=true stopasgroup=true stopwaitsecs=60 priority=600 [program:uwsgi] command=bash /usr/share/docassemble/webapp/run-uwsgi.sh user=www-data autostart=false autorestart=true startretries=0 numprocs=1 startsecs=5 killasgroup=true stopasgroup=true stopwaitsecs=20 priority=500 stdout_logfile=/usr/share/docassemble/log/uwsgi.log stderr_logfile=/usr/share/docassemble/log/uwsgi.log [program:nginx] command=bash /usr/share/docassemble/webapp/run-nginx.sh autostart=false autorestart=true startretries=2 numprocs=1 startsecs=2 killasgroup=true stopasgroup=true stopwaitsecs=20 priority=600 [program:nascent] command=bash /usr/share/docassemble/webapp/run-nascent.sh autostart=true autorestart=false startretries=0 numprocs=1 startsecs=0 killasgroup=true stopasgroup=true stopwaitsecs=20 priority=600 [program:websockets] command=bash /usr/share/docassemble/webapp/run-websockets.sh user=www-data autostart=false autorestart=true startretries=1 startsecs=1 killasgroup=true stopwaitsecs=20 priority=600 stdout_logfile=/usr/share/docassemble/log/websockets.log stderr_logfile=/usr/share/docassemble/log/websockets.log [program:initialize] command=bash /usr/share/docassemble/webapp/initialize.sh directory=/tmp user=0 autostart=true autorestart=false exitcodes=0 startsecs=0 stopwaitsecs=600 priority=400 [program:sync] command=bash /usr/share/docassemble/webapp/sync.sh user=0 autostart=false autorestart=false exitcodes=0 stopasgroup=true killasgroup=true startsecs=0 priority=600 [program:exim4] command=/usr/sbin/exim4 -bdf -q30m -oX 465:25 pidfile=/var/run/exim4/exim.pid autostart=false priority=600 [program:unoserver] command=bash /usr/share/docassemble/webapp/run-unoserver.sh user=www-data autostart=false autorestart=true exitcodes=0 stopasgroup=true killasgroup=true startsecs=2 priority=600 [group:main] programs=initialize,postgres,redis priority=400