Commit f65b4a40 by Kevin Falcone

Exec so that bash is replaced by celery

This allows supervisor to send a warm shutdown to celery and wait for
celery to complete tasks and clean up before shutting down.
parent a8ea0248
......@@ -15,4 +15,5 @@ fi
{% set executable = edxapp_venv_bin + '/python' %}
{% endif %}
{{ executable }} {{ edxapp_code_dir }}/manage.py $@
# We exec so that celery is the child of supervisor and can be managed properly
exec {{ executable }} {{ edxapp_code_dir }}/manage.py $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment