summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2025-12-28 20:06:30 +0000
committerMatthew Fennell <matthew@fennell.dev>2025-12-29 01:48:27 +0000
commitf55564b0c5c0791c31b2c14351a7635d23ea0469 (patch)
treec9434965ecf96a5de06722caa21a3c7707a7c443
parent93cf32f25aa5faf62e8864a68d998ef2baafcf30 (diff)
Explicitly pass --days in lego command
I would like different domains to have different renew-days, so that the certs for different domains do not always update on the same day as each other. This prevents a worst-case scenario where all domains break on one day.
-rwxr-xr-xrenew-all2
1 files changed, 2 insertions, 0 deletions
diff --git a/renew-all b/renew-all
index af6f157..05510fa 100755
--- a/renew-all
+++ b/renew-all
@@ -43,6 +43,8 @@ def main() -> None:
+ [
"renew",
"--reuse-key",
+ "--days",
+ str(domain["renew_days"]),
"--renew-hook",
domain[f"renew_script_{args.env}"],
]