From a5bd2cf3695d1179755865216f9715e9b2f64c36 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Wed, 5 Oct 2022 10:32:29 -0700 Subject: [PATCH] DEBIAN_FRONTEND=noninteractive, le reload-services --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index fb42de9..b83c70e 100755 --- a/install.sh +++ b/install.sh @@ -20,7 +20,7 @@ if [ -d "/etc/letsencrypt/" ]; then fi apt-get update -apt-get -y install python3-certbot-apache +DEBIAN_FRONTEND=noninteractive apt-get -y install python3-certbot-apache mkdir /etc/ssl/letsencrypt chmod 750 /etc/ssl/letsencrypt @@ -34,6 +34,10 @@ mkdir -p /etc/letsencrypt/renewal-hooks/deploy/ cp etc/letsencrypt/renewal-hooks/deploy/cp-to-etc-ssl.sh /etc/letsencrypt/renewal-hooks/deploy/cp-to-etc-ssl.sh chmod 750 /etc/letsencrypt/renewal-hooks/deploy/cp-to-etc-ssl.sh chown root:root /etc/letsencrypt/renewal-hooks/deploy/cp-to-etc-ssl.sh +mkdir -p /etc/letsencrypt/renewal-hooks/post/ +cp etc/letsencrypt/renewal-hooks/post/reload-services.sh /etc/letsencrypt/renewal-hooks/post/reload-services.sh +chmod 750 /etc/letsencrypt/renewal-hooks/post/reload-services.sh +chown root:root /etc/letsencrypt/renewal-hooks/post/reload-services.sh echo domain=`hostname -d`