diff options
| author | Gawin Dapper | 2011-03-22 11:25:19 +0100 | 
|---|---|---|
| committer | Adam Vandenberg | 2011-03-22 07:05:06 -0700 | 
| commit | b8e571cc637c8096dc088f74b705c38adce96c57 (patch) | |
| tree | 78aa33bee76237606defada2a61cf89fb16012b3 /Library/Formula/redis.rb | |
| parent | ee9906bff4142b5266166e91f2f55613d4465629 (diff) | |
| download | homebrew-b8e571cc637c8096dc088f74b705c38adce96c57.tar.bz2 | |
redis: added chmod 0775 for database directory
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/redis.rb')
| -rw-r--r-- | Library/Formula/redis.rb | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/redis.rb b/Library/Formula/redis.rb index 602c52be7..fdcbd4d9b 100644 --- a/Library/Formula/redis.rb +++ b/Library/Formula/redis.rb @@ -22,6 +22,9 @@ class Redis < Formula      %w( run db/redis log ).each { |p| (var+p).mkpath } +    # Set correct directory permissions for database files +    chmod 0755, "#{var}/db/redis" +      # Fix up default conf file to match our paths      inreplace "redis.conf" do |s|        s.gsub! "/var/run/redis.pid", "#{var}/run/redis.pid"  | 
