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