summaryrefslogtreecommitdiff
path: root/plugin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'plugin.sh')
-rwxr-xr-xplugin.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugin.sh b/plugin.sh
index ae234b9..f3b1195 100755
--- a/plugin.sh
+++ b/plugin.sh
@@ -2,17 +2,19 @@
unset REQUESTS_CA_BUNDLE
-API_KEY_FILE=/home/lizzy/git/hc-cert-dns/apikey.secret
+API_KEY_FILE=/home/lizzy/git/hatecomputers/hc-cert-dns/apikey.secret
ENDPOINT=https://hatecomputers.club
PUBLIC_SUFFIXES=.hatecomputers.club
CERTBOT_DOMAIN=$(echo $2 | sed 's/^_acme-challenge\.//')
CERTBOT_VALIDATION=$3
-/home/lizzy/git/hc-cert-dns/main.py --certbot \
+echo $1 $2 $3 >> /tmp/out
+
+/home/lizzy/git/hatecomputers/hc-cert-dns/main.py --certbot \
--public-suffixes=$PUBLIC_SUFFIXES \
--certbot-domain=$CERTBOT_DOMAIN \
--certbot-validation=$CERTBOT_VALIDATION \
--endpoint=$ENDPOINT \
--api-key-file=$API_KEY_FILE \
- --dns-propogate-time=5
+ --dns-propogate-time=5 2> /tmp/log