aboutsummaryrefslogtreecommitdiff
path: root/rel
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2021-06-25 12:32:40 +0200
committerBadlop <badlop@process-one.net>2021-06-25 12:53:22 +0200
commitd5adcaea61dd0007cd0dbd77fb123b62c1fda876 (patch)
treedb2e33e7f5f8c62899efbed3d113462e5784096e /rel
parentmod_push_keepalive: Fix 'resume_timeout' docs (diff)
Add support for rebar3 to "make rel"
Diffstat (limited to 'rel')
-rw-r--r--rel/sys.config2
-rw-r--r--rel/vm.args32
2 files changed, 34 insertions, 0 deletions
diff --git a/rel/sys.config b/rel/sys.config
new file mode 100644
index 000000000..ff6f0f368
--- /dev/null
+++ b/rel/sys.config
@@ -0,0 +1,2 @@
+[{ejabberd, [{config, "etc/ejabberd/ejabberd.yml"},
+ {log_path, "var/log/ejabberd/ejabberd.log"}]}].
diff --git a/rel/vm.args b/rel/vm.args
new file mode 100644
index 000000000..29858b0dc
--- /dev/null
+++ b/rel/vm.args
@@ -0,0 +1,32 @@
+## Name of the node
+-sname ejabberd@localhost
+
+## Cookie for distributed erlang
+#-setcookie ejabberd
+
+-mnesia dir \"var/lib/ejabberd\"
+
+## Heartbeat management; auto-restarts VM if it dies or becomes unresponsive
+## (Disabled by default..use with caution!)
+##-heart
+
+## Enable kernel poll and a few async threads
+##+K true
+##+A 5
+
+## Increase number of concurrent ports/sockets
+##-env ERL_MAX_PORTS 4096
+
+## Tweak GC to run more often
+##-env ERL_FULLSWEEP_AFTER 10
+
+# +B [c | d | i]
+# Option c makes Ctrl-C interrupt the current shell instead of invoking the emulator break
+# handler. Option d (same as specifying +B without an extra option) disables the break handler. # Option i makes the emulator ignore any break signal.
+# If option c is used with oldshell on Unix, Ctrl-C will restart the shell process rather than
+# interrupt it.
+# Disable the emulator break handler
+# it easy to accidentally type ctrl-c when trying
+# to reach for ctrl-d. ctrl-c on a live node can
+# have very undesirable results
+##+Bi