Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Use the default packaged mcrouter instance for local installs
  • Loading branch information
bsimpson63 committed Mar 9, 2017
1 parent 864681b commit 67338d58fba2bc7d9e8cc4a5a960711ddb42a834
Showing 2 changed files with 12 additions and 14 deletions.
@@ -94,3 +94,15 @@ if [ ! -f /etc/mcrouter/global.conf ]; then
}
MCROUTER
fi

# 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"
MCROUTER_DEFAULT

# 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.