mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Mix: Set the nodename when using the ejabberd script generated by Elixir
Also use start instead of console in Elixir script
This commit is contained in:
parent
6d61e3590d
commit
30df1dbe3f
3 changed files with 12 additions and 3 deletions
|
@ -23,5 +23,14 @@ sed -i "s|#' POLL|EJABBERD_BYPASS_WARNINGS=true\n\n#' POLL|g" ejabberdctl.cfg.ex
|
|||
|
||||
echo ""
|
||||
echo "===> Some example ways to start this ejabberd dev:"
|
||||
echo " _build/dev/rel/ejabberd/bin/ejabberd console"
|
||||
echo " _build/dev/rel/ejabberd/bin/ejabberdctl live"
|
||||
case "$1" in
|
||||
"rebar3")
|
||||
echo " _build/dev/rel/ejabberd/bin/ejabberd console"
|
||||
;;
|
||||
"mix")
|
||||
echo " RELEASE_NODE=ejabberd@localhost _build/dev/rel/ejabberd/bin/ejabberd start"
|
||||
;;
|
||||
"*")
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue