remove debug bash

master
Daniel Martinez 2020-05-19 17:49:50 -04:00
parent 9c1987d1d6
commit c8ade4b7be
1 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,4 @@
#!/bin/bash #!/bin/bash
set -x
DOMAIN=$(expr match "$CERTBOT_DOMAIN" '.*\.\(.*\..*\)') DOMAIN=$(expr match "$CERTBOT_DOMAIN" '.*\.\(.*\..*\)')
CHALLENGE_DOMAIN="_acme-challenge.${CERTBOT_DOMAIN}" CHALLENGE_DOMAIN="_acme-challenge.${CERTBOT_DOMAIN}"
[[ -z ${DOMAIN} ]] && export DOMAIN=${CERTBOT_DOMAIN} [[ -z ${DOMAIN} ]] && export DOMAIN=${CERTBOT_DOMAIN}
@ -9,4 +8,4 @@ knotc zone-commit ${DOMAIN}
echo "${CERTBOT_VALIDATION}" > /tmp/certbot_validation_txt_${CERTBOT_DOMAIN}.txt echo "${CERTBOT_VALIDATION}" > /tmp/certbot_validation_txt_${CERTBOT_DOMAIN}.txt
sleep 25 sleep 45