Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorMrZYX <pr0fkill@gmail.com>2011-01-27 20:29:18 +0300
committerMrZYX <pr0fkill@gmail.com>2011-01-27 20:29:18 +0300
commit60c0c4dc76030cd4308805404e91dd59334ac30b (patch)
treedf2e563625f9837759fe9add0174241e36c66659 /script
parent45c590a3bf0681b8f5d23c80077fbf3bc9133595 (diff)
parent3976489984c5ba097e77c50a50757610c6cacbb3 (diff)
Merge branch '819-checks-for-redis-conf-in-usr-local-etc' of https://github.com/Dorian/diaspora
Conflicts: script/server
Diffstat (limited to 'script')
-rwxr-xr-xscript/server4
1 files changed, 4 insertions, 0 deletions
diff --git a/script/server b/script/server
index 04359d420..6d71e3a46 100755
--- a/script/server
+++ b/script/server
@@ -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