diff options
| author | Max Riveiro | 2013-07-05 00:31:30 +0400 |
|---|---|---|
| committer | Jack Nagel | 2013-07-05 11:21:57 -0500 |
| commit | f94332bfe52a67b060f79f758bcebba965e76185 (patch) | |
| tree | 0909cc142a6bd64570ed0a71954fd88a000b7d0f /Library | |
| parent | ba9263d2b8e5478851aad9cf9bbfbe57299e3137 (diff) | |
| download | homebrew-f94332bfe52a67b060f79f758bcebba965e76185.tar.bz2 | |
redis: install redis-sentinel
Install redis-sentinel binary and redis-sentinel.conf config file
along with other standard files.
Closes #21014.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/redis.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/redis.rb b/Library/Formula/redis.rb index e4b3f2246..cfb1143bd 100644 --- a/Library/Formula/redis.rb +++ b/Library/Formula/redis.rb @@ -20,7 +20,7 @@ class Redis < Formula src = (buildpath/'src/Makefile').exist? ? buildpath/'src' : buildpath system "make", "-C", src, "CC=#{ENV.cc}" - %w[benchmark cli server check-dump check-aof].each { |p| bin.install src/"redis-#{p}" } + %w[benchmark cli server check-dump check-aof sentinel].each { |p| bin.install src/"redis-#{p}" } %w[run db/redis log].each { |p| (var+p).mkpath } # Fix up default conf file to match our paths @@ -37,6 +37,7 @@ class Redis < Formula end etc.install 'redis.conf' unless (etc/'redis.conf').exist? + etc.install_p 'sentinel.conf', 'redis-sentinel.conf' unless (etc/'redis-sentinel.conf').exist? end plist_options :manual => "redis-server #{HOMEBREW_PREFIX}/etc/redis.conf" |
