Adding search indexer task.

This commit is contained in:
Samuel Clay 2014-04-22 15:15:51 -07:00
parent 6290824422
commit d8f035fefd

View file

@ -0,0 +1,19 @@
[program:celeryd_search_indexer]
command=/srv/newsblur/manage.py celeryd --loglevel=INFO -Q search_indexer
directory=/srv/newsblur
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