mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 15:13:33 +01:00
Help with deploy_challenge hook #427
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 @sglessard on GitHub (Sep 5, 2019).
Hello,
Using dehydrated v0.5.0, my script works well for a year +. All subdomains are hosted on the same servers (share the same nfs mount)
Now I have to add a new subdomain (say sub.domain.com) in the domains.txt which is hosted on another server. For the challenge i have added a hook script with the
--hookparameter to transfert the challenge token./some/path/letsencrypt-install-hook.sh :
The hook is not called (I dont see the
echos in the log)Am I missing something?
Thanks
@txr13 commented on GitHub (Sep 5, 2019):
You don't need the
--hookparameter on the register command. You do need it on the cron command. Like so:You may also find it useful to add the hook to the main config file (if it works for your normal domains as well) or to a per-certificate config file (if you only want it to run for this one certificate).
@sglessard commented on GitHub (Sep 5, 2019):
Works as expected, i also had to include all the hook functions in the hook script.
Thanks!