From 4ea46c57653b3d9ea9c1386d1cc3dd07163d74d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pawe=C5=82=20Chmielowski?= <pawel@process-one.net>
Date: Wed, 15 Nov 2023 14:16:53 +0100
Subject: [PATCH] Set EJABBERD_OPTS back to "", and use previous flags as
 example

Also try to clarify distinction between EJABBERD_OPTS and ERLANG_OPTS
---
 ejabberdctl.cfg.example | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/ejabberdctl.cfg.example b/ejabberdctl.cfg.example
index da9e1bd3259..6887fb4cc99 100644
--- a/ejabberdctl.cfg.example
+++ b/ejabberdctl.cfg.example
@@ -109,7 +109,10 @@
 #' ERL_OPTIONS: Additional Erlang options
 #
 # The next variable allows to specify additional options passed to
-# erlang. See erl(1) for more info.
+# all commands using erlang interpreter. This applies to starting
+# ejabberd server itself but also auxiliary commands like for example
+# starting debug shell. See erl(1) for list of commands that can be
+# used here.
 #
 # It might be useful to add "-pa /usr/local/lib/ejabberd/ebin" if you
 # want to add local modules in this path.
@@ -126,10 +129,11 @@
 # ejabberd is started from an init.d script options -noshell and -detached are
 # added implicitly. See erl(1) for more info.
 #
+# For example you can use value "-heart -env HEART_BEAT_TIMEOUT 120 -env ERL_CRASH_DUMP_SECONDS 60"
+#
 # Default: ""
 #
 #EJABBERD_OPTS=""
-EJABBERD_OPTS="-heart -env HEART_BEAT_TIMEOUT 120 -env ERL_CRASH_DUMP_SECONDS 60"
 
 #.
 #' ERLANG_NODE: Erlang node name