install-reddit: Disable consumers that aren't configured by default.

cloudsearch_q and scraper_q rely on external services (Amazon
CloudSearch and embed.ly respectively) that must be configured manually
before they will run properly. To avoid a spew of useless error messages
after installation, we'll just set the consumer counts to zero.
This commit is contained in:
Neil Williams
2012-08-13 11:48:44 -07:00
parent 548091fae9
commit c63d336010

View File

@@ -358,8 +358,8 @@ fi
if [ ! -f $REDDIT_HOME/consumer-counts ]; then
cat > $REDDIT_HOME/consumer-counts <<COUNTS
log_q 0
cloudsearch_q 1
scraper_q 1
cloudsearch_q 0
scraper_q 0
commentstree_q 1
newcomments_q 1
vote_comment_q 1