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