]> granicus.if.org Git - ejabberd/commitdiff
Specify lacking nodename (thanks to hamano)(#1020)
authorChristophe Romain <christophe.romain@process-one.net>
Thu, 24 Mar 2016 09:21:51 +0000 (10:21 +0100)
committerChristophe Romain <christophe.romain@process-one.net>
Thu, 24 Mar 2016 09:21:51 +0000 (10:21 +0100)
ejabberdctl.template

index dca23fe81fdd50db39f3cb2635963f37ac3c0dc3..6b06226ac522b28fd0dc9adfe4f32e239cec6bb8 100755 (executable)
@@ -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"