From db65fddbafcb7944076469d8728130b22252fac4 Mon Sep 17 00:00:00 2001 From: Jesse Newland Date: Wed, 30 May 2012 00:43:46 +0200 Subject: [PATCH] fix redis permissions --- packages/redis/redis2.rb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/redis/redis2.rb b/packages/redis/redis2.rb index ade7208..214bddb 100644 --- a/packages/redis/redis2.rb +++ b/packages/redis/redis2.rb @@ -6,7 +6,7 @@ class Redis2 < DebianFormula name 'redis2-server' section 'database' - version '2.2.5+github1' + version '2.2.5+github2' description 'An advanced key-value store.' conflicts 'redis-server' @@ -14,6 +14,14 @@ class Redis2 < DebianFormula config_files \ '/etc/redis/redis.conf' + requires_user 'redis', + :home => '/var/lib/redis', + :remove => false, + :chown => [ + '/var/log/redis', + '/var/lib/redis', + ] + def patches 'fix-link-ordering.patch' end