From 613b82313b6e0ca692bf4c34d8ad1612fc3392fd Mon Sep 17 00:00:00 2001 From: ahgraber Date: Mon, 22 Feb 2021 21:01:24 -0500 Subject: [PATCH] fix renewal hooks --- root/etc/cont-init.d/50_lets-encrypt.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/root/etc/cont-init.d/50_lets-encrypt.sh b/root/etc/cont-init.d/50_lets-encrypt.sh index 9150cd8..213a69a 100644 --- a/root/etc/cont-init.d/50_lets-encrypt.sh +++ b/root/etc/cont-init.d/50_lets-encrypt.sh @@ -59,6 +59,7 @@ ln -s /config/crontabs /etc/crontabs chmod +x /config/deploy/* # Link /config/deploy echo "Linking /config/deploy -> /etc/letsencrypt/renewal-hooks/deploy ..." +rm -rf /etc/letsencrypt/renewal-hooks mkdir -p /etc/letsencrypt/renewal-hooks ln -s /config/deploy /etc/letsencrypt/renewal-hooks