local-letsencrypt/client/cleanup-hook.sh

6 lines
123 B
Bash
Executable File

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