]> TLD Linux GIT Repositories - packages/dehydrated.git/blobdiff - 06-hook.sh
- config file split into smaller, more readable parts
[packages/dehydrated.git] / 06-hook.sh
diff --git a/06-hook.sh b/06-hook.sh
new file mode 100644 (file)
index 0000000..86f2f2b
--- /dev/null
@@ -0,0 +1,14 @@
+# Program or function called in certain situations
+#
+# After generating the challenge-response, or after failed challenge (in this case altname is empty)
+# Given arguments: clean_challenge|deploy_challenge altname token-filename token-content
+#
+# After successfully signing certificate
+# Given arguments: deploy_cert domain path/to/privkey.pem path/to/cert.pem path/to/fullchain.pem
+#
+# BASEDIR and WELLKNOWN variables are exported and can be used in an external program
+# default: <unset>
+#HOOK="/etc/dehydrated/hook.sh"
+
+# Chain clean_challenge|deploy_challenge arguments together into one hook call per certificate (default: no)
+#HOOK_CHAIN="no"