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:
authorAlec Leamas <leamas.alec@gmail.com>2010-12-16 14:16:26 +0300
committerAlec Leamas <leamas.alec@gmail.com>2010-12-16 14:19:10 +0300
commit02477ed27a6d6f6d369718b6c6562941491d507b (patch)
tree5a6b8f1c8e6d9c5359ea77d33304388338f1eda1 /script
parent220e9ebd2c03ac760ea10602234a9032af8c9a74 (diff)
Trying to cope with #722 for the moment.
Issue warning if there already is a running redis server, typically the system server installed with the redis[-server] package. See http://bugs.joindiaspora.com/issues/722
Diffstat (limited to 'script')
-rwxr-xr-xscript/server10
1 files changed, 10 insertions, 0 deletions
diff --git a/script/server b/script/server
index 9a6fb530d..b20e0d59c 100755
--- a/script/server
+++ b/script/server
@@ -99,6 +99,16 @@ if [ -n "$services" ]; then
exit 64
fi
+# See http://bugs.joindiaspora.com/issues/722
+services=$( chk_service 5379 )
+if [ -n "$services" ]; then
+ echo "Error: Someone (another redis server?) is using redis port 5379" >&2
+ echo " $services"
+ exit 64
+fi
+
+
+
# Check if Mongo is running
if ! ps ax | grep -v grep | grep mongod >/dev/null
then