Browse Source

Only renew certificates if we're using Let's Encrypt

Carlos Mogas da Silva 9 months ago
parent
commit
87c0ed086a
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      certbot-renew.sh

+ 3
- 1
certbot-renew.sh View File

@@ -1,3 +1,5 @@
1 1
 #!/bin/bash
2 2
 
3
-certbot renew
3
+if [ "${USE_LETSENCRYPT,,}" == "yes" -o "${USE_LETSENCRYPT,,}" == "true" ]; then
4
+  certbot renew
5
+fi

Loading…
Cancel
Save