diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 1ffad39ef9e..ec2b99b6c79 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -362,12 +362,12 @@ case "$1" in prepare_env_vars - if [[ ! -f "${ZEBRA_CONF_PATH}" ]] && [[ -d "${ZEBRA_CONF_DIR}" ]]; then - ZEBRA_CONF_PATH="${ZEBRA_CONF_DIR}/zebrad.toml" - prepare_default_conf_file "$ZEBRA_CONF_PATH" - fi + # if [[ ! -f "${ZEBRA_CONF_PATH}" ]] && [[ -d "${ZEBRA_CONF_DIR}" ]]; then + # ZEBRA_CONF_PATH="${ZEBRA_CONF_DIR}/zebrad.toml" + # prepare_default_conf_file "$ZEBRA_CONF_PATH" + # fi - if [[ -f "${ZEBRA_CONF_PATH}" ]]; then + if [[ "${ZEBRA_CONF_PATH}" ]]; then exec zebrad -c "${ZEBRA_CONF_PATH}" "$@" else exec zebrad "$@"