chore: add a comment in bin/emqx to warn the config overlay
This commit is contained in:
parent
d9a980c7e1
commit
2a3f58f8ed
3
bin/emqx
3
bin/emqx
|
@ -342,6 +342,9 @@ generate_config() {
|
||||||
NOW_TIME="$(call_hocon now_time)"
|
NOW_TIME="$(call_hocon now_time)"
|
||||||
|
|
||||||
## ths command populates two files: app.<time>.config and vm.<time>.args
|
## ths command populates two files: app.<time>.config and vm.<time>.args
|
||||||
|
## NOTE: the generate command merges environment variables to the base config (emqx.conf),
|
||||||
|
## but does not include the cluster-override.conf and local-override.conf
|
||||||
|
## meaning, certain overrides will not be mapped to app.<time>.config file
|
||||||
## disable SC2086 to allow EMQX_LICENSE_CONF_OPTION to split
|
## disable SC2086 to allow EMQX_LICENSE_CONF_OPTION to split
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
call_hocon -v -t "$NOW_TIME" -I "$CONFIGS_DIR/" -s $SCHEMA_MOD -c "$RUNNER_ETC_DIR"/emqx.conf $EMQX_LICENSE_CONF_OPTION -d "$RUNNER_DATA_DIR"/configs generate
|
call_hocon -v -t "$NOW_TIME" -I "$CONFIGS_DIR/" -s $SCHEMA_MOD -c "$RUNNER_ETC_DIR"/emqx.conf $EMQX_LICENSE_CONF_OPTION -d "$RUNNER_DATA_DIR"/configs generate
|
||||||
|
|
Loading…
Reference in New Issue