Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files

Use the default packaged mcrouter instance for local installs

  • Loading branch information
bsimpson63 committed Feb 28, 2017
1 parent 864681b commit 67338d58fba2bc7d9e8cc4a5a960711ddb42a834
Showing with 12 additions and 14 deletions.
  1. +12 −0 install/
  2. +0 −14 upstart/reddit-mcrouter-global.conf
@@ -94,3 +94,15 @@ if [ ! -f /etc/mcrouter/global.conf ]; then

# this file is sourced by the default mcrouter upstart config, see
# /etc/init/mcrouter.conf
cat > /etc/default/mcrouter <<MCROUTER_DEFAULT
MCROUTER_FLAGS="-f /etc/mcrouter/global.conf -L /var/log/mcrouter/mcrouter.log -p 5050 -R /././ --stats-root=/var/mcrouter/stats"

# set an upstart override so mcrouter starts when reddit starts
echo "start on networking or reddit-start" > /etc/init/mcrouter.override

# restart mcrouter to read the updated config
service mcrouter restart

This file was deleted.

0 comments on commit 67338d5

Please sign in to comment.
You can’t perform that action at this time.