Browse Source

supress echo

dehydrated-hook-powerdns
will Farrell 8 years ago
parent
commit
9c5e95c68e
  1. 2
      docker-entrypoint.sh

2
docker-entrypoint.sh

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -e set -e
#set -x #set -x
echo "run"
if [ "${1}" = 'dehydrated' ]; then if [ "${1}" = 'dehydrated' ]; then
if [ "${LE_ENV}" == 'production' ]; then if [ "${LE_ENV}" == 'production' ]; then
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

Loading…
Cancel
Save