aboutsummaryrefslogtreecommitdiff
path: root/ejabberdctl.template
diff options
context:
space:
mode:
authorKonstantinos Kallas <konstantinos.kallas@hotmail.com>2017-08-19 13:42:05 +0300
committerKonstantinos Kallas <konstantinos.kallas@hotmail.com>2017-08-19 13:42:05 +0300
commitf581e391ac71106090c8a79ba915b614cf833587 (patch)
treef80098cdbc46fcebbd039ab69c0000798b8f23ca /ejabberdctl.template
parentMerge remove_account_option branch (diff)
parentApply cosmetic changes to previous commit (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'ejabberdctl.template')
-rwxr-xr-xejabberdctl.template4
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)