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

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

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