reddit.sh: Install plugins before attempting first startup
[reddit.git] / upstart / reddit-consumer-modmail_email_q.conf
bloba03b9aea378b6231500abfaf1f7061b39feb2770
1 description "send modmail emails using mailgun"
3 instance $x
5 stop on reddit-stop or runlevel [016]
7 respawn
8 respawn limit 10 5
10 nice 10
11 script
12     . /etc/default/reddit
13     wrap-job paster run --proctitle modmail_email_q$x "$REDDIT_INI" "$REDDIT_ROOT"/r2/lib/message_to_email.py -c 'process_modmail_email()'
14 end script