Browse files

The caveats/info on redis were wrong - corrected

Signed-off-by: David Höppner <0xffea@gmail.com>
  • Loading branch information...
1 parent b3a1b72 commit cfcf1a055333dac84ae9d7ed1a7c95cad2b1d77d @leepa leepa committed with 0xffea Sep 3, 2010
Showing with 8 additions and 2 deletions.
  1. +8 −2 Library/Formula/redis.rb
View
10 Library/Formula/redis.rb
@@ -32,8 +32,14 @@ def install
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

0 comments on commit cfcf1a0

Please sign in to comment.