From 377879d3a4b28ff57b19fc9cba6fa0a2152cb3b2 Mon Sep 17 00:00:00 2001 From: Lexi Winter Date: Tue, 3 Jun 2025 13:45:29 +0100 Subject: use the correct config dir in hook scripts --- lfacme-renew.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lfacme-renew.sh') diff --git a/lfacme-renew.sh b/lfacme-renew.sh index b9ebb38..f7878e6 100644 --- a/lfacme-renew.sh +++ b/lfacme-renew.sh @@ -214,7 +214,8 @@ _docert() { # otherwise, exit code is 0 which means we (re)issued the cert, # so run the hooks. for hook in $_rhooks; do - env "LFACME_CERT=${identifier}" \ + env "LFACME_CONFDIR=${_CONFDIR}" \ + "LFACME_CERT=${identifier}" \ "LFACME_KEYFILE=${keyfile}" \ "LFACME_CERTFILE=${certfile}" \ $hook newcert -- cgit v1.2.3