* src/ejabberdctl.template: The parameter 'kernel inetrc' is used

even with -sname to guarantee the same behaviour that when using
-name (EJAB-317)

SVN Revision: 1029
This commit is contained in:
Badlop 2007-12-05 23:58:38 +00:00
parent 353a61ce1c
commit 5f9de28973
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2007-12-06 Badlop <badlop@process-one.net>
* src/ejabberdctl.template: The parameter 'kernel inetrc' is used
even with -sname to guarantee the same behaviour that when using
-name (EJAB-317)
* doc/guide.tex: Improvements in sections: Start, Creating Initial
Account, Module Overview, Managing an ejabberd server, and
Debugging

View File

@ -35,7 +35,7 @@ if [ $# -ne 0 ] ; then
fi
if [ "$ERLANG_NODE" = "${ERLANG_NODE%.*}" ] ; then
SNAME="-kernel inetrc \""$EJABBERD_INETRC"\" -sname"
SNAME=-sname
else
SNAME=-name
fi
@ -43,7 +43,7 @@ fi
# Compatibility in ZSH
#setopt shwordsplit 2>/dev/null
ERLANG_OPTS="$POLL $SMP $PROCESSES $ERL_MAX_ETS_TABLES"
ERLANG_OPTS="$POLL $SMP $PROCESSES $ERL_MAX_ETS_TABLES -kernel inetrc \""$EJABBERD_INETRC"\" "
start ()
{