]> TLD Linux GIT Repositories - packages/dehydrated.git/commitdiff
- source functions
authorMarcin Krol <hawk@tld-linux.org>
Tue, 24 Oct 2017 22:53:21 +0000 (22:53 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Tue, 24 Oct 2017 22:53:21 +0000 (22:53 +0000)
hook.sh

diff --git a/hook.sh b/hook.sh
index b4e1754bab72e9ddfecf2e4a5a7cdd71e55ac50b..4587fe817b6074a3d5cbd9aac12b0ced1560d5ed 100755 (executable)
--- 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