From e0e12392a6f8ba30e27e45142431e6443a724263 Mon Sep 17 00:00:00 2001 From: sebthom Date: Wed, 26 Jul 2023 10:37:59 +0200 Subject: [PATCH] log config environment variables on container start --- image/run.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/image/run.sh b/image/run.sh index de0c882..7b2c26a 100644 --- a/image/run.sh +++ b/image/run.sh @@ -28,6 +28,8 @@ EOF log INFO "Hostname: $(hostname -f)" log INFO "IP Addresses: " awk '/32 host/ { if(uniq[ip]++ && ip != "127.0.0.1") print " - " ip } {ip=$2}' /proc/net/fib_trie + log INFO "Config environment variables: " + env | grep '^GITEA_\|^ACT_' | sort | sed 's/TOKEN=.*/TOKEN=******/g' | sed -e 's/^/ - /' fi