2014-04-22 15:15:51 -07:00
|
|
|
[program:celeryd_search_indexer]
|
2019-01-17 15:05:32 -05:00
|
|
|
command=/srv/newsblur/manage.py celery worker --loglevel=INFO -Q search_indexer -c 4
|
2014-04-22 15:15:51 -07:00
|
|
|
directory=/srv/newsblur
|
2016-02-08 20:24:27 -08:00
|
|
|
environment=PATH="/srv/newsblur/venv/newsblur/bin"
|
2014-04-22 15:15:51 -07:00
|
|
|
user=sclay
|
|
|
|
numprocs=1
|
|
|
|
stdout_logfile=/var/log/celeryd_searchindexer.log
|
|
|
|
stderr_logfile=/var/log/celeryd_searchindexer.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
|