Merge branch '819-checks-for-redis-conf-in-usr-local-etc' of https://github.com/Dorian/diaspora
Conflicts: script/server
This commit is contained in:
commit
60c0c4dc76
1 changed files with 4 additions and 0 deletions
|
|
@ -67,6 +67,10 @@ function redis_config
|
|||
elif [ -r "/opt/local/etc/redis.conf" ]; then
|
||||
# MacPorts location
|
||||
redis_conf="/opt/local/etc/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 "Don't know how to configure redis for this platform. Copy the configuration file redis.conf to the config directory and patch it manually. In particular, don't daemonize." >&2
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue