2013-04-01 12:21:20 -07:00
|
|
|
[program:celeryd_work_queue]
|
2020-06-29 20:17:11 -04:00
|
|
|
command=celery -A newsblur worker --loglevel=INFO -Q work_queue
|
2013-04-01 12:21:20 -07:00
|
|
|
directory=/srv/newsblur
|
2020-12-03 14:04:26 -05:00
|
|
|
environment=PATH="/srv/newsblur/venv/newsblur3/bin"
|
2013-04-01 12:21:20 -07:00
|
|
|
user=sclay
|
|
|
|
numprocs=1
|
|
|
|
stdout_logfile=/var/log/celeryd_workqueue.log
|
|
|
|
stderr_logfile=/var/log/celeryd_workqueue.log
|
|
|
|
autostart=true
|
|
|
|
autorestart=true
|
|
|
|
startsecs=10
|
|
|
|
;process_name=%(program_name)s_%(process_num)03d
|
|
|
|
|
|
|
|
; Need to wait for currently executing tasks to finish at shutdown.
|
|
|
|
; Increase this if you have very long running tasks.
|
|
|
|
stopwaitsecs = 60
|
|
|
|
|
|
|
|
; if rabbitmq is supervised, set its priority higher
|
|
|
|
; so it starts first
|
|
|
|
priority=998
|