diff --git a/root/etc/e-smith/templates/etc/letsencrypt.sh/config.sh/60Renew b/root/etc/e-smith/templates/etc/letsencrypt.sh/config.sh/60Renew index 7a0e270..52d8c61 100644 --- a/root/etc/e-smith/templates/etc/letsencrypt.sh/config.sh/60Renew +++ b/root/etc/e-smith/templates/etc/letsencrypt.sh/config.sh/60Renew @@ -1,2 +1,2 @@ -RENEW_DAYS="30" -PRIVATE_KEY_RENEW="yes" +RENEW_DAYS="{ $letsencrypt{'RenewDays'} || '30' }" +PRIVATE_KEY_RENEW="{ (($letsencrypt{'RenewKey'} || 'yes') =~ m/^enabled|on|yes|1$/) ? 'yes' : 'no' }"