From 6e8473931febeccdc69c91230b3c486fd3c3e9e6 Mon Sep 17 00:00:00 2001 From: Jesper Kristensen Date: Fri, 30 Jun 2023 14:08:47 +0200 Subject: [PATCH] ITKDev: Fixed nginx entry script --- infrastructure/docker-entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infrastructure/docker-entrypoint.sh b/infrastructure/docker-entrypoint.sh index 128606de..fa5f8be1 100644 --- a/infrastructure/docker-entrypoint.sh +++ b/infrastructure/docker-entrypoint.sh @@ -20,11 +20,11 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then case "$f" in *.envsh) if [ -x "$f" ]; then - echo >&3 "$0: Sourcing $f"; + entrypoint_log "$0: Sourcing $f"; . "$f" else # warn on shell scripts without exec bit - echo >&3 "$0: Ignoring $f, not executable"; + entrypoint_log "$0: Ignoring $f, not executable"; fi ;; *.sh) @@ -46,4 +46,4 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then fi fi -exec "$@" +exec "$@" \ No newline at end of file