mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 00:32:12 -04:00
Setting value of commented renew_before_expiry to default value
This commit is contained in:
parent
e3ad290dff
commit
bf6f6b636c
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue