description     "supervisord"

{% if disable_edx_services and not devstack -%}
  start on stopped pre_supervisor
{% else %}
start on runlevel [2345]
{% endif %}
stop on runlevel [!2345]

kill timeout 432000

setuid {{ supervisor_service_user }}
exec {{ supervisor_venv_dir }}/bin/supervisord -n --configuration {{ supervisor_cfg }}
