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
diff options
context:
space:
mode:
-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