mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Adding search indexer task.
This commit is contained in:
parent
6290824422
commit
d8f035fefd
1 changed files with 19 additions and 0 deletions
19
config/supervisor_celeryd_search_indexer.conf
Normal file
19
config/supervisor_celeryd_search_indexer.conf
Normal 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
|
Loading…
Add table
Reference in a new issue