Compare commits

...

1 Commits

Author SHA1 Message Date
Thales Macedo Garitezi edbc21356d
fix(bin_emqx): add `-vm_args` back as an argument when starting VM
The `install_upgrade.escript` depends on being able to retrieve the
`vm_args` argument from `init`, but that options has been removed
recently.  This adds it back so the `install_upgrade.escript` can
proceed.
2021-12-24 10:56:50 -03:00
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ generate_config() {
local CONF_FILE="$CONFIGS_DIR/app.$NOW_TIME.config" local CONF_FILE="$CONFIGS_DIR/app.$NOW_TIME.config"
local HOCON_GEN_ARG_FILE="$CONFIGS_DIR/vm.$NOW_TIME.args" local HOCON_GEN_ARG_FILE="$CONFIGS_DIR/vm.$NOW_TIME.args"
CONFIG_ARGS="-config $CONF_FILE -args_file $HOCON_GEN_ARG_FILE" CONFIG_ARGS="-config $CONF_FILE -args_file $HOCON_GEN_ARG_FILE -vm_args $HOCON_GEN_ARG_FILE"
## Merge hocon generated *.args into the vm.args ## Merge hocon generated *.args into the vm.args
TMP_ARG_FILE="$CONFIGS_DIR/vm.args.tmp" TMP_ARG_FILE="$CONFIGS_DIR/vm.args.tmp"