summaryrefslogtreecommitdiff
path: root/src/ejabberdctl.cfg.example
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2009-05-15 22:10:53 +0000
committerBadlop <badlop@process-one.net>2009-05-15 22:10:53 +0000
commitdfc97beaef721163dc7a17fd7dc3b17d00d4fb79 (patch)
tree94398b53cd804e4072072ccb8870ee64477229e5 /src/ejabberdctl.cfg.example
parentThe --node argument overwrites the value of ejabberdctl.cfg (diff)
Allow to define additional Erlang options in ejabberdctl.cfg (thanks to Sergei Golovan)
SVN Revision: 2079
Diffstat (limited to 'src/ejabberdctl.cfg.example')
-rw-r--r--src/ejabberdctl.cfg.example20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/ejabberdctl.cfg.example b/src/ejabberdctl.cfg.example
index d6bb80e1..0c8d0c5a 100644
--- a/src/ejabberdctl.cfg.example
+++ b/src/ejabberdctl.cfg.example
@@ -78,7 +78,23 @@
#ERL_MAX_ETS_TABLES=1400
#.
-#' ERLANG_NODE
+#' ERL_OPTIONS: Additional Erlang options
+#
+# The next variable allows to specify additional options passed to erlang while
+# starting ejabberd. Some useful options are -noshell, -detached, -heart. When
+# ejabberd is started from an init.d script options -noshell and -detached are
+# added implicitly. See erl(1) for more info.
+#
+# It might be useful to add "-pa /usr/local/lib/ejabberd/ebin" if you
+# want to add local modules in this path.
+#
+# Default: ""
+#
+#ERL_OPTIONS=""
+
+#.
+#' ERLANG_NODE: Erlang node name
+#
# The next variable allows to explicitly specify erlang node for ejabberd
# It can be given in different formats:
# ERLANG_NODE=ejabberd
@@ -94,4 +110,6 @@
#
#ERLANG_NODE=ejabberd
+#.
+#'
# vim: foldmarker=#',#. foldmethod=marker: