Skip to content

Commit

Permalink
Adding renewal interval along with comment to the renewal configurati…
Browse files Browse the repository at this point in the history
…on file
  • Loading branch information
TheNavigat committed Apr 16, 2016
1 parent 86e09d5 commit 82ee461
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions certbot/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 82ee461

Please sign in to comment.