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.

run.sh 274B

1234567891011121314151617
  1. #!/usr/bin/env bash
  2. interrupt() {
  3. echo
  4. echo "Caught ^C, exiting."
  5. exit 1
  6. }
  7. trap interrupt SIGINT
  8. while true; do
  9. /dehydrated --cron --hook /dns/hook --challenge dns-01
  10. /dehydrated --cleanup
  11. inotifywait --timeout 86400 /letsencrypt/domains.txt
  12. sleep 60
  13. done