From a6af2b5f55af43a5466c343da9f58848ba2ef0ea Mon Sep 17 00:00:00 2001 From: kjg Date: Tue, 8 Oct 2024 08:23:37 +0000 Subject: [PATCH] [ungleich-certbot] update renew_cert.sh for Task#13204 --- renew_cert.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/renew_cert.sh b/renew_cert.sh index a9e079e..8196910 100755 --- a/renew_cert.sh +++ b/renew_cert.sh @@ -3,6 +3,7 @@ if [ "$NO_NGINX" ]; then /usr/bin/certbot renew --standalone elif [ -n "`grep -r standalone /etc/letsencrypt/renewal`" ]; then + /usr/bin/certbot renew --standalone /usr/bin/certbot renew --force-renew --webroot --webroot-path /www_http else /usr/bin/certbot renew --webroot --webroot-path /www_http @@ -17,4 +18,4 @@ fi # Reload certs pkill -1 nginx -echo "Last renew: $(date)" > /tmp/last_renew +echo "Last renew: $(date)" > /tmp/last_renew \ No newline at end of file