The caveats/info on redis were wrong - corrected

Signed-off-by: David Höppner <0xffea@gmail.com>
master
Lee Packham 2010-09-03 18:12:08 +01:00 committed by David Höppner
parent dee3e63b6b
commit 51fca8ad45
1 changed files with 8 additions and 2 deletions

View File

@ -32,8 +32,14 @@ class Redis <Formula
def caveats
<<-EOS.undent
Automatically load on login with:
launchctl load -w #{prefix}/io.redis.redis-server.plist
If this is your first install, automatically load on login with:
cp #{prefix}/io.redis.redis-server.plist ~/Library/LaunchAgents
launchctl load -w ~/Library/LaunchAgents/io.redis.redis-server.plist
If this is an upgrade and you already have the io.redis.redis-server.plist loaded:
launchctl unload -w ~/Library/LaunchAgents/io.redis.redis-server.plist
cp #{prefix}/io.redis.redis-server.plist ~/Library/LaunchAgents
launchctl load -w ~/Library/LaunchAgents/io.redis.redis-server.plist
To start redis manually:
redis-server #{etc}/redis.conf