mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
hook.sh and waiting for DNS records to propagate #461
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @basbebe on GitHub (Feb 25, 2020).
The deploy_challenge hook is being called once for every domain and alternative name.
I'm waiting 900s for each DNS record to propagate (safest with my provider).
At this point, this makes e.g. 900s x 4 if I have a certificate with three alternative names.
Is there a possibility for me to only wait once after all the records are created before the challenge?
Otherwise it would be nice to have an additional pre-challenge hook or the like…
@txr13 commented on GitHub (Feb 25, 2020):
You want to use HOOK_CHAIN: https://github.com/dehydrated-io/dehydrated/blob/master/docs/hook_chain.md
@basbebe commented on GitHub (Feb 25, 2020):
yes I do!
thank you @txr13
I don't know yet how to parse all the arguments though
@basbebe commented on GitHub (Feb 25, 2020):
got it:
@basbebe commented on GitHub (Feb 25, 2020):
got it: