Merge pull request #7144 from zmstone/allow-user-override-data-dir

fix(boot): allow user defined data_dir
This commit is contained in:
Zaiming (Stone) Shi 2022-02-26 00:16:32 +01:00 committed by GitHub
commit 20323a8f11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -22,5 +22,6 @@ export EMQX_DESCRIPTION='{{ emqx_description }}'
## computed vars ## computed vars
REL_NAME="emqx" REL_NAME="emqx"
ERTS_PATH="$RUNNER_ROOT_DIR/erts-$ERTS_VSN/bin" ERTS_PATH="$RUNNER_ROOT_DIR/erts-$ERTS_VSN/bin"
RUNNER_DATA_DIR="${EMQX_NODE__DATA_DIR:-$RUNNER_DATA_DIR}"
## updated vars here ## updated vars here