emqx_vars 1.1 KB

1234567891011121314151617181920212223242526
  1. ######################################################################
  2. ## NOTE: Do NOT replace this file during release upgrade.
  3. ## Update the vars to the end of this file instead.
  4. ######################################################################
  5. ## constants from relx template
  6. REL_VSN="{{ release_version }}"
  7. ERTS_VSN="{{ erts_vsn }}"
  8. ERL_OPTS="{{ erl_opts }}"
  9. RUNNER_BIN_DIR="{{ runner_bin_dir }}"
  10. RUNNER_LIB_DIR="{{ runner_lib_dir }}"
  11. IS_ELIXIR="${IS_ELIXIR:-{{ is_elixir }}}"
  12. ## Allow users to pre-set `EMQX_LOG_DIR` because it only affects boot commands like `start` and `console`,
  13. ## but not other commands such as `ping` and `ctl`.
  14. ## RUNNER_LOG_DIR is kept for backward compatibility.
  15. export EMQX_LOG_DIR="${EMQX_LOG_DIR:-${RUNNER_LOG_DIR:-{{ runner_log_dir }}}}"
  16. EMQX_ETC_DIR="{{ emqx_etc_dir }}"
  17. RUNNER_USER="{{ runner_user }}"
  18. SCHEMA_MOD="{{ emqx_schema_mod }}"
  19. IS_ENTERPRISE="{{ is_enterprise }}"
  20. ## Do not change EMQX_DEFAULT_ERLANG_COOKIE.
  21. ## Configure EMQX_NODE_COOKIE instead
  22. EMQX_DEFAULT_ERLANG_COOKIE='{{ emqx_default_erlang_cookie }}'
  23. REL_NAME="emqx"
  24. export EMQX_DESCRIPTION='{{ emqx_description }}'
  25. ## updated vars here