[program:gunicorn] command={{ PYTHON }} {{ PROJECT_DIR }}/manage.py run_gunicorn {% if settings.DEBUG %} exclude=true {% endif %} {% if not settings.DEBUG %} [program:runserver] exclude=true {% endif %} [program:celeryd] {% if settings.DEBUG %} command={{ PYTHON }} {{ PROJECT_DIR }}/manage.py celeryd -E --loglevel=INFO {% else %} command={{ PYTHON }} {{ PROJECT_DIR }}/manage.py celeryd -E {% endif %} directory={{ PROJECT_DIR }} numprocs=1 startsecs=5 ; Need to wait for currently executing tasks to finish at shutdown. ; Increase this if you have very long running tasks. stopwaitsecs = 600 [program:celerycam] command={{ PYTHON }} {{ PROJECT_DIR }}/manage.py celerycam [program:redis] {% if settings.DEBUG %} command=redis-server {% else %} command=redis-server {% endif %}