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

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2015-11-20 11:53:53 +0300
committerChristophe Romain <christophe.romain@process-one.net>2015-11-20 12:39:27 +0300
commit67a70b9107a051209a58ad332b23a0aaa424359c (patch)
tree1fab276e1f2d0ae3178c6ed268c05ac13d13f963 /ejabberdctl.template
parenta497cdff5ee0bf41749d076a445ba7371ddbd69e (diff)
Integrate join/leave cluster as ejabberd command
Diffstat (limited to 'ejabberdctl.template')
-rwxr-xr-xejabberdctl.template12
1 files changed, 0 insertions, 12 deletions
diff --git a/ejabberdctl.template b/ejabberdctl.template
index a4327ac9f..c7d76eff7 100755
--- a/ejabberdctl.template
+++ b/ejabberdctl.template
@@ -431,16 +431,6 @@ check_start()
}
}
-# cluster setup
-join_cluster()
-{
- $EXEC_CMD "$EJABBERD_BIN_PATH/joincluster $*"
-}
-leave_cluster()
-{
- $EXEC_CMD "$EJABBERD_BIN_PATH/leavecluster $*"
-}
-
# allow sync calls
wait_for_status()
{
@@ -472,7 +462,5 @@ case $ARGS in
' etop') etop;;
' started') wait_for_status 0 30 2;; # wait 30x2s before timeout
' stopped') wait_for_status 3 15 2 && stop_epmd;; # wait 15x2s before timeout
- ' join_cluster'*) join_cluster ${ARGS# join_cluster};;
- ' leave_cluster'*) leave_cluster ${ARGS# leave_cluster};;
*) ctl $ARGS;;
esac