From: Marcin Krol Date: Tue, 24 Oct 2017 22:53:21 +0000 (+0000) Subject: - source functions X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=c0286219d312c95e6ac82ef10e2b0db610ee1c07;p=packages%2Fdehydrated.git - source functions --- diff --git a/hook.sh b/hook.sh index b4e1754..4587fe8 100755 --- a/hook.sh +++ b/hook.sh @@ -4,6 +4,9 @@ # certificate is successfully deployed HOOKS_D="/etc/dehydrated/hooks.d" +# Predefined functions, ie. for reloading/updating system services +. "/etc/dehydrated/hooks/functions" + HANDLER="${1}" shift case "${HANDLER}" in