From cdc54baf82cc68273fb0aabe28be4a7715471329 Mon Sep 17 00:00:00 2001 From: Marek Date: Fri, 11 Oct 2024 19:35:47 +0200 Subject: [PATCH] Adjust entrypoint --- docker/entrypoint.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 "$@"