redis: added chmod 0775 for database directory
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
20af98640c
commit
9f2a58bc18
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue