Files
reddit/upstart/reddit-consumer-butler_q.conf
Neil Williams e057278960 Gold Feature: "The Butler". Username monitoring in comments.
This is a new feature available only to Gold members. It defaults to on,
but may be turned off in preferences. When a username is mentioned on
the site in the /u/username format, and some conditions apply, the user
is notified by an orangered and a new type of item in the inbox. There
are several cases where notifications won't occur to reduce noise, see
butler.py for details.
2013-05-21 11:09:02 -07:00

15 lines
294 B
Plaintext

description "notify users when their username is mentioned"
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 butler_q$x $REDDIT_INI -c 'from r2.lib.butler import run; run()'
end script