Increase wait time for record update.

This commit is contained in:
redxef 2020-10-29 23:09:21 +01:00
parent 9c96ad0fad
commit d5254e5e8f

View file

@ -5,5 +5,5 @@ set -x
baseurl='https://www.duckdns.org/update?domains=%s&token=%s&txt=%s' baseurl='https://www.duckdns.org/update?domains=%s&token=%s&txt=%s'
result="$(printf "url=$baseurl\n" "$DUCKDNS_DOMAIN" "$DUCKDNS_TOKEN" "$CERTBOT_VALIDATION" | curl -K -)" result="$(printf "url=$baseurl\n" "$DUCKDNS_DOMAIN" "$DUCKDNS_TOKEN" "$CERTBOT_VALIDATION" | curl -K -)"
# give some time for the record to update # give some time for the record to update
sleep 120 sleep 300
test "$result" = 'OK' test "$result" = 'OK'