Browse Source

Add missing documenting comment

Improve documentation of script
master
Jonathan Golder 3 years ago
parent
commit
a8b11d9830
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      letsencrypt-renew.sh

+ 1
- 0
letsencrypt-renew.sh View File

@@ -10,6 +10,7 @@ for inifile in cli-*.ini; do
# sleep for a random time so not all certificates get renewed at the same time
sleep 473

# Check validity of cert for domain
openssl x509 -checkend $(( 21 * 86400 )) -in ~/.config/letsencrypt/live/${domain}/cert.pem > /dev/null

if [ \$? != 0 ]; then


Loading…
Cancel
Save