From: Lukas Schauer Date: Thu, 14 Apr 2016 23:34:23 +0000 (+0200) Subject: added timestamp parameter to deploy_cert function of example hook script (related... X-Git-Tag: v0.2.0~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b0e2ecde5f8d3e26687c5cfdd6c54963437fa0f9;p=thirdparty%2Fdehydrated.git added timestamp parameter to deploy_cert function of example hook script (related to #156) --- diff --git a/docs/examples/hook.sh.example b/docs/examples/hook.sh.example index 3381682..23a4961 100644 --- a/docs/examples/hook.sh.example +++ b/docs/examples/hook.sh.example @@ -32,7 +32,7 @@ function clean_challenge { } function deploy_cert { - local DOMAIN="${1}" KEYFILE="${2}" CERTFILE="${3}" FULLCHAINFILE="${4}" CHAINFILE="${5}" + local DOMAIN="${1}" KEYFILE="${2}" CERTFILE="${3}" FULLCHAINFILE="${4}" CHAINFILE="${5}" TIMESTAMP="${6}" # This hook is called once for each certificate that has been # produced. Here you might, for instance, copy your new certificates @@ -50,6 +50,8 @@ function deploy_cert { # The path of the file containing the full certificate chain. # - CHAINFILE # The path of the file containing the intermediate certificate(s). + # - TIMESTAMP + # Timestamp when the specified certificate was created. } function unchanged_cert {