summaryrefslogtreecommitdiffstats
path: root/client/cleanup-hook.sh
blob: 73bf40ff484d93272fecc4ef67eb06614c0f5b9d (plain)
1
2
3
4
5
#!/bin/bash

. $(dirname $(realpath $0))/hook-config

curl "$API_URL/api/1/delete?token=$API_TOKEN&record=_acme-challenge.$CERTBOT_DOMAIN&type=TXT"