mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
The --node argument overwrites the value of ejabberdctl.cfg
SVN Revision: 2082
This commit is contained in:
parent
35daf5df78
commit
ee8ed2828a
@ -21,7 +21,7 @@ while [ $# -ne 0 ] ; do
|
||||
shift
|
||||
case $PARAM in
|
||||
--) break ;;
|
||||
--node) ERLANG_NODE=$1; shift ;;
|
||||
--node) ERLANG_NODE_ARG=$1; shift ;;
|
||||
--config-dir) ETCDIR=$1 ; shift ;;
|
||||
--config) EJABBERD_CONFIG_PATH=$1 ; shift ;;
|
||||
--ctl-config) EJABBERDCTL_CONFIG_PATH=$1 ; shift ;;
|
||||
@ -51,6 +51,9 @@ fi
|
||||
if [ "$EJABBERD_DOC_PATH" = "" ] ; then
|
||||
EJABBERD_DOC_PATH=@DOCDIR@
|
||||
fi
|
||||
if [ "$ERLANG_NODE_ARG" != "" ] ; then
|
||||
ERLANG_NODE=$ERLANG_NODE_ARG
|
||||
fi
|
||||
|
||||
# check the proper system user is used
|
||||
ID=`id -g`
|
||||
|
Loading…
Reference in New Issue
Block a user