redis: added chmod 0775 for database directory

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Gawin Dapper 2011-03-22 11:25:19 +01:00 committed by Adam Vandenberg
parent 20af98640c
commit 9f2a58bc18

View file

@ -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"