More than one hook script #370

Closed
opened 2025-12-29 01:23:51 +01:00 by adam · 4 comments
Owner

Originally created by @puzich on GitHub (Aug 16, 2018).

Currently I use the hook to create dns-01 entries in powerdns. But it would be fine, to start a further script for internal server purposes, after updating the ssl certificates. Could this be possible?

Originally created by @puzich on GitHub (Aug 16, 2018). Currently I use the hook to create dns-01 entries in powerdns. But it would be fine, to start a further script for internal server purposes, after updating the ssl certificates. Could this be possible?
adam closed this issue 2025-12-29 01:23:51 +01:00
Author
Owner

@bllfr0g commented on GitHub (Aug 16, 2018):

Couldn’t you call your second script from the hook script?

On Aug 16, 2018, at 06:17, puzich notifications@github.com wrote:

Currently I use the hook to create dns-01 entries in powerdns. But it would be fine, to start a further script for internal server purposes, after updating the ssl certificates. Could this be possible?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@bllfr0g commented on GitHub (Aug 16, 2018): Couldn’t you call your second script from the hook script? > On Aug 16, 2018, at 06:17, puzich <notifications@github.com> wrote: > > Currently I use the hook to create dns-01 entries in powerdns. But it would be fine, to start a further script for internal server purposes, after updating the ssl certificates. Could this be possible? > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub, or mute the thread.
Author
Owner

@puzich commented on GitHub (Aug 16, 2018):

Good point. It is possible, but I don't want the change a script which I checked out ( https://github.com/silkeh/pdns_api.sh/blob/master/pdns_api.sh ) from github due to updating purposes.

@puzich commented on GitHub (Aug 16, 2018): Good point. It is possible, but I don't want the change a script which I checked out ( https://github.com/silkeh/pdns_api.sh/blob/master/pdns_api.sh ) from github due to updating purposes.
Author
Owner

@txr13 commented on GitHub (Aug 16, 2018):

Write a wrapper hook. Pass whatever hook functions you like to the existing hook (which can then remain unaltered), and overload the rest with whatever you want to customize.

@txr13 commented on GitHub (Aug 16, 2018): Write a wrapper hook. Pass whatever hook functions you like to the existing hook (which can then remain unaltered), and overload the rest with whatever you want to customize.
Author
Owner

@puzich commented on GitHub (Aug 16, 2018):

Yes! Good idea! Thank you!

@puzich commented on GitHub (Aug 16, 2018): Yes! Good idea! Thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#370