mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-04-22 08:18:27 +02:00
added timestamp parameter to deploy_cert function of example hook script (related to #156)
This commit is contained in:
@@ -32,7 +32,7 @@ function clean_challenge {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function deploy_cert {
|
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
|
# This hook is called once for each certificate that has been
|
||||||
# produced. Here you might, for instance, copy your new certificates
|
# 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.
|
# The path of the file containing the full certificate chain.
|
||||||
# - CHAINFILE
|
# - CHAINFILE
|
||||||
# The path of the file containing the intermediate certificate(s).
|
# The path of the file containing the intermediate certificate(s).
|
||||||
|
# - TIMESTAMP
|
||||||
|
# Timestamp when the specified certificate was created.
|
||||||
}
|
}
|
||||||
|
|
||||||
function unchanged_cert {
|
function unchanged_cert {
|
||||||
|
|||||||
Reference in New Issue
Block a user