feat: don't override env RUNNER_LOG_DIR in emqx_vars

This commit is contained in:
Zhongwen Deng 2022-09-05 15:29:04 +08:00
parent d4785553b9
commit 63281e5491
1 changed files with 6 additions and 2 deletions

View File

@ -7,11 +7,15 @@ REL_VSN="{{ release_version }}"
ERTS_VSN="{{ erts_vsn }}"
ERL_OPTS="{{ erl_opts }}"
RUNNER_BIN_DIR="{{ runner_bin_dir }}"
RUNNER_LOG_DIR="{{ runner_log_dir }}"
RUNNER_LIB_DIR="{{ runner_lib_dir }}"
IS_ELIXIR="${IS_ELIXIR:-{{ is_elixir }}}"
if [ -z "${RUNNER_LOG_DIR:-}" ]; then
RUNNER_LOG_DIR="{{ runner_log_dir }}"
fi
EMQX_ETC_DIR="{{ emqx_etc_dir }}"
RUNNER_USER="{{ runner_user }}"
IS_ELIXIR="${IS_ELIXIR:-{{ is_elixir }}}"
SCHEMA_MOD="{{ emqx_schema_mod }}"
IS_ENTERPRISE="{{ is_enterprise }}"