From 87c0ed086a61b8e22ebe7e0a0fdbbc185375c803 Mon Sep 17 00:00:00 2001 From: Carlos Mogas da Silva Date: Mon, 4 Jun 2018 20:48:14 +0100 Subject: [PATCH] Only renew certificates if we're using Let's Encrypt --- certbot-renew.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/certbot-renew.sh b/certbot-renew.sh index 710665d..7ee154e 100644 --- a/certbot-renew.sh +++ b/certbot-renew.sh @@ -1,3 +1,5 @@ #!/bin/bash -certbot renew +if [ "${USE_LETSENCRYPT,,}" == "yes" -o "${USE_LETSENCRYPT,,}" == "true" ]; then + certbot renew +fi