added timestamp parameter to deploy_cert function of example hook script (related to #156)

This commit is contained in:
Lukas Schauer
2016-04-15 01:34:23 +02:00
parent 230ab45948
commit b0e2ecde5f

View 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 {