From 3976489984c5ba097e77c50a50757610c6cacbb3 Mon Sep 17 00:00:00 2001 From: Dorian Date: Wed, 19 Jan 2011 23:24:02 +0100 Subject: [PATCH] Checks for redis.conf in /usr/local (by justthisguy) --- script/server | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script/server b/script/server index 58576b4d6..c8496418b 100755 --- a/script/server +++ b/script/server @@ -55,6 +55,10 @@ function redis_config redis_conf="/etc/redis.conf" elif [ -r "/etc/redis/redis.conf" ]; then redis_conf="/etc/redis/redis.conf" + elif [ -r "/usr/local/etc/redis.conf" ]; then + redis_conf="/usr/local/etc/redis.conf" + elif [ -r "/usr/local/etc/redis/redis.conf" ]; then + redis_conf="/usr/local/etc/redis/redis.conf" else echo <<- EOM Don't know how to configure redis for this platform. Copy