title: how to use celeryd.conf file provided in production
body: <p>This is the file provided at <a href="https://github.com/ask/django-celery/blob/master/contrib/supervisord/celeryd.conf" rel="nofollow">https://github.com/ask/django-celery/blob/master/contrib/supervisord/celeryd.conf</a> . How can I run this conf file ?</p>
  
  <p>I am running my django app using gunicorn</p>
  
  <pre><code>; =======================================
  ;  celeryd supervisor example for Django
  ; =======================================
  
  [program:celery]
  command=/path/to/project/manage.py celeryd --loglevel=INFO
  directory=/path/to/project
  user=nobody
  numprocs=1
  stdout_logfile=/var/log/celeryd.log
  stderr_logfile=/var/log/celeryd.log
  autostart=true
  autorestart=true
  startsecs=10
  
  ; Need to wait for currently executing tasks to finish at shutdown.
  ; Increase this if you have very long running tasks.
  stopwaitsecs = 600
  
  ; if rabbitmq is supervised, set its priority higher
  ; so it starts first
  priority=998
  </code></pre>
  
  <p>Thanks</p>