From 32d3d1626bf8a8c2d01a4c6b2f6e5bc570e6045b Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 31 May 2011 12:26:44 +0200 Subject: New ERL_EPMD_ADDRESS that works since Erlang/OTP R14B03 --- src/ejabberdctl.cfg.example | 16 ++++++++++++++++ src/ejabberdctl.template | 1 + 2 files changed, 17 insertions(+) (limited to 'src') diff --git a/src/ejabberdctl.cfg.example b/src/ejabberdctl.cfg.example index 2106e3d22..3f116d180 100644 --- a/src/ejabberdctl.cfg.example +++ b/src/ejabberdctl.cfg.example @@ -61,6 +61,22 @@ # INET_DIST_INTERFACE={127,0,0,1} +#. +#' ERL_EPMD_ADDRESS: IP addresses where epmd listens for connections +# +# IMPORTANT: This option works only in Erlang/OTP R14B03 and newer. +# +# This environment variable may be set to a comma-separated +# list of IP addresses, in which case the epmd daemon +# will listen only on the specified address(es) and on the +# loopback address (which is implicitly added to the list if it +# has not been specified). The default behaviour is to listen on +# all available IP addresses. +# +# Default: 0.0.0.0 +# +#ERL_EPMD_ADDRESS=127.0.0.1 + #. #' ERL_PROCESSES: Maximum number of Erlang processes # diff --git a/src/ejabberdctl.template b/src/ejabberdctl.template index 650aa520d..d2f20fa79 100644 --- a/src/ejabberdctl.template +++ b/src/ejabberdctl.template @@ -129,6 +129,7 @@ export EJABBERD_BIN_PATH export EJABBERD_DOC_PATH export EJABBERD_PID_PATH export ERL_CRASH_DUMP +export ERL_EPMD_ADDRESS export ERL_INETRC export ERL_MAX_PORTS export ERL_MAX_ETS_TABLES -- cgit v1.2.3