From e6c1bf9c9a1e7aae2069d6d1790133c4c0d9be3a Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Wed, 18 May 2022 17:08:05 +0200 Subject: [PATCH] make-binaries: Adjust Mnesia spool directory path Adjust the default Mnesia directory for compatibility with older binary packages. Closes #3818. --- tools/make-binaries | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/make-binaries b/tools/make-binaries index 57aaaa7b6..a15a94224 100755 --- a/tools/make-binaries +++ b/tools/make-binaries @@ -367,6 +367,7 @@ edit_ejabberdctl() -e '/ERL_OPTIONS=/d' \ -e 's|^ERLANG_NODE=ejabberd$|ERLANG_NODE=ejabberd@localhost|' \ -e 's|_DIR:=".*}/|_DIR:="/opt/ejabberd/|' \ + -e 's|/database|/database/$ERLANG_NODE|' \ "$code_dir/bin/${rel_name}ctl" } #.