diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2015-11-20 14:52:36 +0100 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2015-11-20 14:52:36 +0100 |
commit | 4480749a52e6673bf58fcbae145197cd95363b4e (patch) | |
tree | 84f0149d2b855b90773550ad14e97a566b8331f2 /ejabberdctl.template | |
parent | Merge pull request #840 from cenobites/mod_ping (diff) | |
parent | Allow longer command execution time (diff) |
Merge branch 'cluster_fix'
Diffstat (limited to 'ejabberdctl.template')
-rwxr-xr-x | ejabberdctl.template | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ejabberdctl.template b/ejabberdctl.template index 147bff97..bd791ced 100755 --- a/ejabberdctl.template +++ b/ejabberdctl.template @@ -447,16 +447,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() { @@ -489,7 +479,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 |