mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 16:28:01 -05:00
15 lines
321 B
Plaintext
15 lines
321 B
Plaintext
description "update the cloudsearch index with new/changed documents"
|
|
|
|
instance $x
|
|
|
|
stop on reddit-stop or runlevel [016]
|
|
|
|
respawn
|
|
respawn limit 10 5
|
|
|
|
nice 10
|
|
script
|
|
. /etc/default/reddit
|
|
wrap-job paster run --proctitle cloudsearch_q$x $REDDIT_INI $REDDIT_ROOT/r2/lib/cloudsearch.py -c 'run_changed()'
|
|
end script
|