mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-02-05 12:15:28 -05:00
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.
15 lines
294 B
Plaintext
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
|