pre-hook & post-hook #99

Closed
opened 2025-12-29 00:24:47 +01:00 by adam · 2 comments
Owner

Originally created by @verwilst on GitHub (May 11, 2016).

Instead of a simple --hook, it would be nice to have a --pre-hook and --post-hook, so we can do cleanups afterwards.

Originally created by @verwilst on GitHub (May 11, 2016). Instead of a simple --hook, it would be nice to have a --pre-hook and --post-hook, so we can do cleanups afterwards.
adam closed this issue 2025-12-29 00:24:47 +01:00
Author
Owner

@lukas2511 commented on GitHub (May 11, 2016):

The hook script gets called with a parameter which tells it what to do, see https://github.com/lukas2511/letsencrypt.sh/blob/master/docs/examples/hook.sh.example.

With that I don't see any reason why to make this script more complicated with dozens of hook parameters for any case where a hook could be called.

@lukas2511 commented on GitHub (May 11, 2016): The hook script gets called with a parameter which tells it what to do, see https://github.com/lukas2511/letsencrypt.sh/blob/master/docs/examples/hook.sh.example. With that I don't see any reason why to make this script more complicated with dozens of hook parameters for any case where a hook could be called.
Author
Owner

@verwilst commented on GitHub (May 12, 2016):

Ok, let's store this in the brainfart section. :-) Doh!

@verwilst commented on GitHub (May 12, 2016): Ok, let's store this in the brainfart section. :-) Doh!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#99