25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

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

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