aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Packham2010-09-03 18:12:08 +0100
committerDavid Höppner2010-09-04 11:41:40 +0200
commitcfcf1a055333dac84ae9d7ed1a7c95cad2b1d77d (patch)
tree82e83fadfcb86956e7ba4481ea5ec0bb544b3d67
parentb3a1b728c82d3423a1a5d6aa5a33094e26fc7800 (diff)
downloadhomebrew-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.rb10
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