mirror of
https://github.com/certbot/certbot.git
synced 2026-07-30 16:14: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]
|
del config["renewalparams"][k]
|
||||||
|
|
||||||
if "renew_before_expiry" not in config:
|
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
|
# TODO: add human-readable comments explaining other available
|
||||||
# parameters
|
# parameters
|
||||||
|
|||||||
Reference in New Issue
Block a user