certbot-duckdns/certbot-cleanup

4 lines
189 B
Bash
Executable file

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