From 1ceb8d43b9e7f37f3a1a6237ded05fda4b90fcaa Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Tue, 29 Mar 2022 02:55:59 -0400 Subject: [PATCH] do deploy hooks on initial cert --- web-conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web-conf b/web-conf index 6b18b2e..3373e26 100755 --- a/web-conf +++ b/web-conf @@ -154,6 +154,13 @@ if $ssl; then # cleanup the call to ourselves a short bit ago rm $se/$h.conf fi + # these scripts only run on renew, that is kinda dumb. + export RENEWED_LINEAGE=/etc/letsencrypt/live/$h + for script in /etc/letsencrypt/renewal-hooks/deploy/*; do + if [[ -x $script ]]; then + "$script" + fi + done fi -- 2.30.2