Browse Source

echo env

dehydrated-hook-powerdns
will Farrell 8 years ago
parent
commit
af082a4e75
  1. 5
      docker-entrypoint.sh

5
docker-entrypoint.sh

@ -2,8 +2,13 @@
set -e set -e
#set -x #set -x
if [ "${LE_ENV}" == 'production' ]; then if [ "${LE_ENV}" == 'production' ]; then
echo "***** ${LE_ENV} *****"
sed -i 's@CA=.*@CA="https://acme-v01.api.letsencrypt.org/directory"@g' /etc/dehydrated/config sed -i 's@CA=.*@CA="https://acme-v01.api.letsencrypt.org/directory"@g' /etc/dehydrated/config
else
echo "***** staging *****"
fi fi
echo "${@}" echo "${@}"

Loading…
Cancel
Save