Accept '/r/foo' everywhere: part 2
[reddit.git] / upstart / reddit-job-update_sr_names.conf
blob3c144815602388e25453a3bb58ff1ec8e1d176fb
1 description "update the subreddit name search cache"
3 manual
4 task
5 stop on reddit-stop or runlevel [016]
7 nice 10
9 script
10     . /etc/default/reddit
11     wrap-job paster run $REDDIT_INI -c 'from r2.lib import subreddit_search; subreddit_search.load_all_reddits()'
12 end script