Commit 2d8e5f19 by Feanil Patel

Externalize xqueue_consumer vars.

parent 1947ff01
...@@ -10,8 +10,8 @@ respawn ...@@ -10,8 +10,8 @@ respawn
respawn limit 3 30 respawn limit 3 30
env LANG=en_US.UTF-8 env LANG=en_US.UTF-8
env WORKERS_PER_QUEUE={{xqueue_env_config.XQUEUE_WORKERS_PER_QUEUE}}
chdir /opt/wwc/xqueue chdir {{xqueue_code_dir}}
setuid www-data setuid www-data
exec /opt/edx/bin/django-admin.py run_consumer --pythonpath=/opt/wwc/xqueue --settings=xqueue.aws_settings 12 exec {{venv_dir}}/bin/django-admin.py run_consumer --pythonpath={{xqueue_code_dir}} --settings=xqueue.aws_settings $WORKERS_PER_QUEUE
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