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:
parent
cac31f9325
commit
e6c1bf9c9a
@ -367,6 +367,7 @@ edit_ejabberdctl()
|
|||||||
-e '/ERL_OPTIONS=/d' \
|
-e '/ERL_OPTIONS=/d' \
|
||||||
-e 's|^ERLANG_NODE=ejabberd$|ERLANG_NODE=ejabberd@localhost|' \
|
-e 's|^ERLANG_NODE=ejabberd$|ERLANG_NODE=ejabberd@localhost|' \
|
||||||
-e 's|_DIR:=".*}/|_DIR:="/opt/ejabberd/|' \
|
-e 's|_DIR:=".*}/|_DIR:="/opt/ejabberd/|' \
|
||||||
|
-e 's|/database|/database/$ERLANG_NODE|' \
|
||||||
"$code_dir/bin/${rel_name}ctl"
|
"$code_dir/bin/${rel_name}ctl"
|
||||||
}
|
}
|
||||||
#.
|
#.
|
||||||
|
Loading…
Reference in New Issue
Block a user