Browse Source

Add missing documenting comment

Improve documentation of script
Jonathan Golder 2 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
10 10
 # sleep for a random time so not all certificates get renewed at the same time
11 11
 sleep 473
12 12
 
13
+# Check validity of cert for domain
13 14
 openssl x509 -checkend $(( 21 * 86400 )) -in ~/.config/letsencrypt/live/${domain}/cert.pem > /dev/null
14 15
 
15 16
 if [ \$? != 0 ]; then