diff options
| author | Lee Packham | 2010-09-03 18:12:08 +0100 |
|---|---|---|
| committer | David Höppner | 2010-09-04 11:41:40 +0200 |
| commit | cfcf1a055333dac84ae9d7ed1a7c95cad2b1d77d (patch) | |
| tree | 82e83fadfcb86956e7ba4481ea5ec0bb544b3d67 | |
| parent | b3a1b728c82d3423a1a5d6aa5a33094e26fc7800 (diff) | |
| download | homebrew-cfcf1a055333dac84ae9d7ed1a7c95cad2b1d77d.tar.bz2 | |
The caveats/info on redis were wrong - corrected
Signed-off-by: David Höppner <0xffea@gmail.com>
| -rw-r--r-- | Library/Formula/redis.rb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Library/Formula/redis.rb b/Library/Formula/redis.rb index c4dec36ff..276d2c90a 100644 --- a/Library/Formula/redis.rb +++ b/Library/Formula/redis.rb @@ -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 |
