mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 08:42:57 -04:00
Adding renewal interval along with comment to the renewal configuration file
This commit is contained in:
parent
86e09d5e42
commit
82ee461e34
1 changed files with 3 additions and 0 deletions
|
|
@ -78,6 +78,9 @@ def write_renewal_config(o_filename, n_filename, target, relevant_data):
|
|||
if k not in relevant_data:
|
||||
del config["renewalparams"][k]
|
||||
|
||||
config["renew_before_expiry"] = constants.RENEWER_DEFAULTS["renew_before_expiry"]
|
||||
config.comments["renew_before_expiry"] = "Renewal interval"
|
||||
|
||||
# TODO: add human-readable comments explaining other available
|
||||
# parameters
|
||||
logger.debug("Writing new config %s.", n_filename)
|
||||
|
|
|
|||
Loading…
Reference in a new issue