From 3824e07b7390065bce1c9142fb4e8aadf74c6e62 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Thu, 14 Mar 2024 15:24:53 -0700 Subject: [PATCH] change hostmaster@ to webmaster@ for email in LE cli.ini --- install.sh | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/install.sh b/install.sh index 1b2bf16..fe6a9ba 100755 --- a/install.sh +++ b/install.sh @@ -39,16 +39,6 @@ cp etc/letsencrypt/renewal-hooks/post/reload-services.sh /etc/letsencrypt/renewa 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` -if [ -n "$domain" ]; then - echo "email = hostmaster@$domain" >> /etc/letsencrypt/cli.ini - echo "Let's Encrypt email set to hostmaster@$domain" -else - echo "Server DNS domain name not set, Let's Encrypt email setting left unconfigured." -fi -echo - cp etc/apache2/conf-available/certbot.conf /etc/apache2/conf-available/certbot.conf a2enmod --quiet proxy proxy_http a2enconf --quiet certbot @@ -65,3 +55,12 @@ cp systemd/letsencrypt-* /usr/local/lib/systemd/system/ chmod 644 /usr/local/lib/systemd/system/letsencrypt-* systemctl daemon-reload systemctl enable --now letsencrypt-deploy.path + +echo +domain=`hostname -d` +if [ -n "$domain" ]; then + echo "email = webmaster@$domain" >> /etc/letsencrypt/cli.ini + echo "Let's Encrypt email set to webmaster@$domain" +else + echo "Server DNS domain name not set, Let's Encrypt email setting left unconfigured." +fi