local-letsencrypt/client/cleanup-hook.sh

6 lines
143 B
Bash
Raw Normal View History

2017-03-12 18:55:05 +00:00
#!/bin/bash
. $(dirname $(realpath $0))/hook-config
2017-04-07 13:13:57 +00:00
curl "$API_URL/api/1/delete?token=$API_TOKEN&record=_acme-challenge.$CERTBOT_DOMAIN:TXT"