Skip to content

ttalle/dehydrated-dispatch-hook

Repository files navigation

Dehydrated dispatch hook

Since Dehydrated only has a single HOOK parameter you can use this script to dispatch the hooks to multiple hook-scripts.

NOTE

New insights show this script is completely unneccesary and is only still here for historical reasons. It does work but using this method is much easier.

Dependencies

Nothing special, only tested in Bash.

Usage

Set dehydrated-dispatch-hook.sh as your HOOK script in Dehydrated and create a configuration file as /etc/dehydrated/dispatch-hooks.inc. It should look like the following:

HOOKS=(
        "/opt/dehydrated-hook/hook1.sh"
        "/opt/dehydrated-hook/hook2.sh"
)

The hooks will run in the specified order.

About

Simple dispatch-hook script for Dehydrated (https://dehydrated.de)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages