[ungleich-certbot] update renew_cert.sh for Task#13204

This commit is contained in:
kjg 2024-10-08 08:23:37 +00:00
parent 217b8c2e95
commit a6af2b5f55

View file

@ -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