certbot-duckdns/duckdns

6 lines
194 B
Text
Raw Normal View History

2020-10-29 16:38:49 +01:00
#!/usr/bin/env sh
logfile=/var/log/duckdns.log
2020-10-30 11:58:53 +01:00
baseurl='https://www.duckdns.org/update?domains=%s&token=%s'
printf "url=$baseurl\n" "$DUCKDNS_DOMAIN" "$DUCKDNS_TOKEN" | curl -o "$logfile" -K -