You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to have a deploy-hook similar to the certbot one which triggers only on successful certificates generation / renewal ?
From my understanding the pre and post hook of acme.sh triggers at each attemps. As stated here https://github.com/Neilpang/acme.sh/wiki/Using-'--pre-hook',-'--post-hook',-'--renew-hook'-and-'--reload-cmd', unless it is not explained correctly, I don't see the use to close re-open a server only on an attempt as it may fails. We should execute that action only if new certificates have been issued/renewed successfully.
As far as I can tell (also from debug mode) the deploy-hook doesn't run at all with my setup. Is deploy-hook ignored when running --staging maybe?
Steps to reproduce
/export/acme-home/acme.sh --staging -d irc.example.net --challenge-alias irc.example.ripe.net --dns dns_nsupdate --dnssleep 10 --home /export/acme-home --renew --force --deploy-hook 'touch /test'
Debug log
The text was updated successfully, but these errors were encountered: