diff options
author | Badlop <badlop@process-one.net> | 2017-07-12 14:43:28 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2017-07-12 14:43:28 +0200 |
commit | d4cdc3a246b44ab6a89412c58afc18cc8a4bf1b2 (patch) | |
tree | 9dd3ed6b6da6a34a6fa69c52024c5f55817353cf /ejabberdctl.template | |
parent | mod_privacy: Don't crash while copying c2s state (diff) |
Fix ERLANG_OPTS end lines when setting FIREWALL_WINDOW (#1856)
Diffstat (limited to '')
-rwxr-xr-x | ejabberdctl.template | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ejabberdctl.template b/ejabberdctl.template index 9099bd3d..aa2353cc 100755 --- a/ejabberdctl.template +++ b/ejabberdctl.template @@ -62,9 +62,9 @@ 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) |