diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index c6ead1e..561640c 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -1,7 +1,7 @@ #!/bin/bash set -e #set -x -echo "run" + if [ "${1}" = 'dehydrated' ]; then if [ "${LE_ENV}" == 'production' ]; then sed -i 's@CA=.*@CA="https://acme-v01.api.letsencrypt.org/directory"@g' /etc/dehydrated/config