mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 08:48:18 -05:00
15 lines
325 B
Plaintext
15 lines
325 B
Plaintext
description "process votes cast on comments"
|
|
|
|
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 vote_comment_q$x $REDDIT_INI -c 'from r2.lib.db import queries; queries.process_votes(queries.vote_comment_q)'
|
|
end script
|