local-letsencrypt/client/cleanup-hook.sh

6 lines
143 B
Bash
Executable File

#!/bin/bash
. $(dirname $(realpath $0))/hook-config
curl "$API_URL/api/1/delete?token=$API_TOKEN&record=_acme-challenge.$CERTBOT_DOMAIN:TXT"