mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 00:32:12 -04:00
Moving renew_before_expiry comment to initial_comment
This commit is contained in:
parent
070642faaf
commit
e3ad290dff
1 changed files with 2 additions and 2 deletions
|
|
@ -78,8 +78,8 @@ def write_renewal_config(o_filename, n_filename, target, relevant_data):
|
|||
if k not in relevant_data:
|
||||
del config["renewalparams"][k]
|
||||
|
||||
if "renew_before_expiry" not in config["renewalparams"]:
|
||||
config.final_comment = ["renew_before_expiry = 30 days"]
|
||||
if "renew_before_expiry" not in config:
|
||||
config.initial_comment = ["renew_before_expiry = 30 days"]
|
||||
|
||||
# TODO: add human-readable comments explaining other available
|
||||
# parameters
|
||||
|
|
|
|||
Loading…
Reference in a new issue