Requests Let's Encrypt certificates using a user-supplied DNS hook
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678910111213141516 |
- #!/usr/bin/env bash
-
- interrupt() {
- echo
- echo "Caught ^C, exiting."
- exit 1
- }
-
- trap interrupt SIGINT
-
- while true; do
- /letsencrypt.sh --cron --cleanup --hook /dns/hook --challenge dns-01
- inotifywait --timeout 86400 /letsencrypt/domains.txt
- sleep 60
- done
|