From af082a4e754cc3779d254576a5c6f490f1cadb67 Mon Sep 17 00:00:00 2001 From: will Farrell Date: Tue, 13 Jun 2017 22:17:24 -0600 Subject: [PATCH] echo env --- docker-entrypoint.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 675d592..fc49666 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -2,8 +2,13 @@ set -e #set -x + + if [ "${LE_ENV}" == 'production' ]; then + echo "***** ${LE_ENV} *****" sed -i 's@CA=.*@CA="https://acme-v01.api.letsencrypt.org/directory"@g' /etc/dehydrated/config +else + echo "***** staging *****" fi echo "${@}"