certbot-duckdns/certbot-cleanup
2020-10-29 16:38:49 +01:00

6 lines
216 B
Bash
Executable file

#!/usr/bin/env sh
set -x
baseurl='https://www.duckdns.org/update?domains=%s&token=%s&txt=&clear=True%s'
test "$(printf "url=$baseurl\n" "$DUCKDNS_DOMAIN" "$DUCKDNS_TOKEN" "$CERTBOT_VALIDATION" | curl -K -)" = 'OK'