aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2016-03-24 10:21:51 +0100
committerChristophe Romain <christophe.romain@process-one.net>2016-03-24 10:21:51 +0100
commitdf4c551f06d3fba29f1074e1e6b54fa44755d8fd (patch)
treed6dd39c6f0f826228a9b1ad235ce539386ef3ab4
parentEnable Riak test suite on Travis-CI (diff)
Specify lacking nodename (thanks to hamano)(#1020)
-rwxr-xr-xejabberdctl.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/ejabberdctl.template b/ejabberdctl.template
index dca23fe81..6b06226ac 100755
--- a/ejabberdctl.template
+++ b/ejabberdctl.template
@@ -394,7 +394,7 @@ ctl()
# concurrent invocations using a bound
# number of atoms
for N in `seq 1 $MAXCONNID`; do
- CTL_CONN="ejabberdctl-$N"
+ CTL_CONN="ctl-$N-${ERLANG_NODE}"
CTL_LOCKFILE="$CONNLOCKDIR/$CTL_CONN"
(
exec 8>"$CTL_LOCKFILE"