Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

The caveats/info on redis were wrong - corrected

Signed-off-by: David Höppner <0xffea@gmail.com>
  • Loading branch information...
commit cfcf1a055333dac84ae9d7ed1a7c95cad2b1d77d 1 parent b3a1b72
@leepa leepa authored 0xffea committed
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
Please sign in to comment.
Something went wrong with that request. Please try again.