Checks for redis.conf in /usr/local (by justthisguy)

This commit is contained in:
Dorian 2011-01-19 23:24:02 +01:00
parent e7a065a521
commit 3976489984

View file

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