aboutsummaryrefslogtreecommitdiff
path: root/rel/relive.config
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-01-17 11:49:16 +0100
committerBadlop <badlop@process-one.net>2022-02-03 18:21:47 +0100
commitadbccbe852e3d9980e531ff206bebd6b2c983fba (patch)
tree04d4b8ae5447fc1f41e87d1f152fd79b70b8e855 /rel/relive.config
parentmod_pubsub: Unsubscribe JID on whitelist removal (diff)
New "make relive" similar to "ejabberdctl live" without installing
Prepare with: ./autogen.sh && ./configure --with-rebar=./rebar3 && make Or use this if you installed Elixir: ./autogen.sh && ./configure --with-rebar=mix && make Start without installing (it recompiles when necessary): make relive It stores config, database and logs in _build/relive/ There's available the well-known script: _build/relive/ejabberdctl Please note this fails immediately: r3:do(compile). This crashes a few seconds later: rebar3:run(["compile"]). Workaround that works correctly: ejabberd_admin:update().
Diffstat (limited to '')
-rw-r--r--rel/relive.config3
1 files changed, 3 insertions, 0 deletions
diff --git a/rel/relive.config b/rel/relive.config
new file mode 100644
index 000000000..7e3901fd4
--- /dev/null
+++ b/rel/relive.config
@@ -0,0 +1,3 @@
+[{mnesia, [{dir, "_build/relive/database"}]},
+ {ejabberd, [{config, "_build/relive/conf/ejabberd.yml"},
+ {log_path, "_build/relive/logs/ejabberd.log"}]}].