diff options
| author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-04-11 11:17:58 -0600 |
|---|---|---|
| committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-04-11 11:17:58 -0600 |
| commit | 702cb85df8798954737c93a4bd978d9a711ed343 (patch) | |
| tree | eaf970cd180518501b09926884b25f3f7a7ceea9 /plugin.sh | |
| parent | 06926fd7865196816c04b21a368ab8595b30228f (diff) | |
| download | hatecomputers-dns-updater-702cb85df8798954737c93a4bd978d9a711ed343.tar.gz hatecomputers-dns-updater-702cb85df8798954737c93a4bd978d9a711ed343.zip | |
add acme script
Diffstat (limited to 'plugin.sh')
| -rwxr-xr-x | plugin.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/plugin.sh b/plugin.sh new file mode 100755 index 0000000..6474385 --- /dev/null +++ b/plugin.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +unset REQUESTS_CA_BUNDLE + +API_KEY_FILE=/Users/lizzy/git/simponic/dns-updater/apikey.secret +ENDPOINT=https://hatecomputers.club +PUBLIC_SUFFIXES=.hatecomputers.club + +./main.py --certbot \ + --public-suffixes=$PUBLIC_SUFFIXES \ + --certbot-domain=$CERTBOT_DOMAIN \ + --certbot-validation=$CERTBOT_VALIDATION \ + --endpoint=$ENDPOINT \ + --api-key-file=$API_KEY_FILE |
