mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 15:13:33 +01:00
exit_hook not called if invalid_challenge hook has been called before #402
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 @j-ed on GitHub (Jan 31, 2019).
Used version: 0.6.2 snapshot 2019-01-24
I'm currently using the startup_hook and exit_hook to start and stop the alpn responder. This works fine as long as e.g. the invalid_challenge hook is called. If this happens the exit_hook is not called anymore and therefore the responder process isn't stopped.
Based on the hook description
This hook is called at the end of the cron command and can be used to do some final (cleanup or other) tasks.it would expect that it is called at the end of the script, independently from any other hook.