diff options
author | Konstantinos Kallas <konstantinos.kallas@hotmail.com> | 2017-08-19 13:42:05 +0300 |
---|---|---|
committer | Konstantinos Kallas <konstantinos.kallas@hotmail.com> | 2017-08-19 13:42:05 +0300 |
commit | f581e391ac71106090c8a79ba915b614cf833587 (patch) | |
tree | f80098cdbc46fcebbd039ab69c0000798b8f23ca /ejabberdctl.template | |
parent | Merge remove_account_option branch (diff) | |
parent | Apply cosmetic changes to previous commit (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'ejabberdctl.template')
-rwxr-xr-x | ejabberdctl.template | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ejabberdctl.template b/ejabberdctl.template index edf9bea0d..9d47334a2 100755 --- a/ejabberdctl.template +++ b/ejabberdctl.template @@ -69,9 +69,7 @@ done # define erl parameters ERLANG_OPTS="+K $POLL -smp $SMP +P $ERL_PROCESSES $ERL_OPTIONS" if [ "$FIREWALL_WINDOW" != "" ] ; then - ERLANG_OPTS="$ERLANG_OPTS -kernel \ - inet_dist_listen_min ${FIREWALL_WINDOW%-*} \ - inet_dist_listen_max ${FIREWALL_WINDOW#*-}" + ERLANG_OPTS="$ERLANG_OPTS -kernel inet_dist_listen_min ${FIREWALL_WINDOW%-*} inet_dist_listen_max ${FIREWALL_WINDOW#*-}" fi if [ "$INET_DIST_INTERFACE" != "" ] ; then INET_DIST_INTERFACE2=$("$ERL" -noshell -eval 'case inet:parse_address("'$INET_DIST_INTERFACE'") of {ok,IP} -> io:format("~p",[IP]); _ -> ok end.' -s erlang halt) |