mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 00:00:44 +02:00
Setting value of commented renew_before_expiry to default value
This commit is contained in:
+2
-1
@@ -79,7 +79,8 @@ def write_renewal_config(o_filename, n_filename, target, relevant_data):
|
||||
del config["renewalparams"][k]
|
||||
|
||||
if "renew_before_expiry" not in config:
|
||||
config.initial_comment = ["renew_before_expiry = 30 days"]
|
||||
default_interval = constants.RENEWER_DEFAULTS["renew_before_expiry"]
|
||||
config.initial_comment = ["renew_before_expiry = " + default_interval]
|
||||
|
||||
# TODO: add human-readable comments explaining other available
|
||||
# parameters
|
||||
|
||||
Reference in New Issue
Block a user