]> git.street.me.uk Git - andy/dehydrated.git/commitdiff
added timestamp parameter to deploy_cert function of example hook script (related...
authorLukas Schauer <lukas@schauer.so>
Thu, 14 Apr 2016 23:34:23 +0000 (01:34 +0200)
committerLukas Schauer <lukas@schauer.so>
Thu, 14 Apr 2016 23:34:23 +0000 (01:34 +0200)
docs/examples/hook.sh.example

index 3381682dae3968deaab3fedc4afcfab39ec330f6..23a4961ca9e808f890e22d61f7d964de5281d7e3 100644 (file)
@@ -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 {