mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-04-20 07:21:23 +02:00
added hook to run before cron command (fixes #371)
This commit is contained in:
@@ -889,6 +889,7 @@ command_account() {
|
||||
# Description: Sign/renew non-existent/changed/expiring certificates.
|
||||
command_sign_domains() {
|
||||
init_system
|
||||
[[ -n "${HOOK}" ]] && "${HOOK}" "startup_hook"
|
||||
|
||||
if [[ -n "${PARAM_DOMAIN:-}" ]]; then
|
||||
DOMAINS_TXT="$(_mktemp)"
|
||||
|
||||
Reference in New Issue
Block a user