File: ejabberdctl.cfg.example.diff

package info (click to toggle)
ejabberd 24.12-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,736 kB
  • sloc: erlang: 111,927; sh: 4,004; sql: 3,551; perl: 832; makefile: 542; python: 48; javascript: 34
file content (77 lines) | stat: -rw-r--r-- 2,278 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
Description: adjust ejabberdctl.cfg.example to create a PID file
 ejabberd's default control config doesn't create a PID file upon start,
 so change it
Author: Philipp Huebner <debalance@debian.org>
Forwarded: not-needed

Index: ejabberd/ejabberdctl.cfg.example
===================================================================
--- ejabberd.orig/ejabberdctl.cfg.example
+++ ejabberd/ejabberdctl.cfg.example
@@ -65,20 +65,6 @@
 #ERL_DIST_PORT=5210
 
 #.
-#' ERL_EPMD_ADDRESS: IP addresses where EPMD listens for connections
-#
-# 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
 #
 # Erlang consumes a lot of lightweight processes. If there is a lot of activity
@@ -117,9 +103,9 @@
 # It might be useful to add "-pa /usr/local/lib/ejabberd/ebin" if you
 # want to add local modules in this path.
 #
-# Default: ""
+# Default: "-env ERL_CRASH_DUMP_BYTES 0"
 #
-#ERL_OPTIONS=""
+ERL_OPTIONS="-env ERL_CRASH_DUMP_BYTES 0"
 
 #.
 #' EJABBERD_OPTS: Additional Erlang options to start ejabberd
@@ -163,7 +149,7 @@
 #
 # Default: don't write PID file
 #
-#EJABBERD_PID_PATH=/var/run/ejabberd/ejabberd.pid
+EJABBERD_PID_PATH=/run/ejabberd/ejabberd.pid
 
 #.
 #' EJABBERD_CONFIG_PATH: ejabberd configuration file
@@ -174,13 +160,14 @@
 #
 # Default: $ETC_DIR/ejabberd.yml
 #
-#EJABBERD_CONFIG_PATH=/etc/ejabberd/ejabberd.yml
+EJABBERD_CONFIG_PATH=/etc/ejabberd/ejabberd.yml
 
 #.
 #' CONTRIB_MODULES_PATH: contributed ejabberd modules path
 #
 # Specify the full path to the contributed ejabberd modules. If the path is not
 # defined, ejabberd will use ~/.ejabberd-modules in home of user running ejabberd.
+# Note: this is not needed for the ejabberd-mod-* packages
 #
 # Default: $HOME/.ejabberd-modules
 #
@@ -196,7 +183,7 @@
 #
 # Default: $CONTRIB_MODULES_PATH/conf
 #
-#CONTRIB_MODULES_CONF_DIR=/etc/ejabberd/modules
+CONTRIB_MODULES_CONF_DIR=/etc/ejabberd/modules.d
 
 #.
 #'