[supervisord] nodaemon=true user=root logfile=/dev/stdout logfile_maxbytes=0 pidfile=/var/run/supervisord.pid silent=false [program:uwsgi] command=uwsgi --ini /app/uwsgi.ini user=piefed directory=/app stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 autorestart=true priority=100 startsecs=10 stopasgroup=true killasgroup=true [program:nginx] command=nginx -g "daemon off;" user=root stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 autorestart=true priority=200 startsecs=5 stopasgroup=true killasgroup=true [group:piefed-web] programs=uwsgi,nginx priority=999