make-binaries: Adjust Mnesia spool directory path

Adjust the default Mnesia directory for compatibility with older binary
packages.

Closes #3818.
This commit is contained in:
Holger Weiss 2022-05-18 17:08:05 +02:00
parent cac31f9325
commit e6c1bf9c9a
1 changed files with 1 additions and 0 deletions

View File

@ -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"
}
#.