1 ; =========================================
 
   2 ; WolneLektury-Celeryd conf for supervisord
 
   3 ; Put this in /etc/supervisor/conf.d
 
   4 ; =========================================
 
   6 [program:celery.%(project_name)s]
 
   7 command=%(path)s/ve/bin/python %(path)s/releases/current/manage.py celeryd --loglevel=INFO
 
   8 directory=%(path)s/releases/current/
 
  11 process_name=wolnelektury-celery-%%(process_num)d
 
  12 stdout_logfile=%(path)s/celeryd.log
 
  13 stderr_logfile=%(path)s/celeryd.log
 
  18 ; Need to wait for currently executing tasks to finish at shutdown.
 
  19 ; Increase this if you have very long running tasks.
 
  22 ; if rabbitmq is supervised, set its priority higher