From 420d32d39723766fb7070fb567e2629b14e5fb3d Mon Sep 17 00:00:00 2001 From: Nicolas Duchon Date: Wed, 1 Nov 2017 18:21:47 +0100 Subject: [PATCH] Fix forced renewal of certificates --- app/letsencrypt_service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/letsencrypt_service b/app/letsencrypt_service index f638497..f6144fd 100755 --- a/app/letsencrypt_service +++ b/app/letsencrypt_service @@ -70,7 +70,7 @@ update_certs() { params_d_str="" [[ $DEBUG == true ]] && params_d_str+=" -v" [[ $REUSE_KEY == true ]] && params_d_str+=" --reuse_key" - [[ "${1}" == "--force-renew" ]] && params_d_str+=" --valid_min 7776000" && shift + [[ "${1}" == "--force-renew" ]] && params_d_str+=" --valid_min 7776000" hosts_array_expanded=("${!hosts_array}") # First domain will be our base domain