summaryrefslogtreecommitdiffstats
path: root/nixos/modules/security/acme/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/security/acme/default.nix')
-rw-r--r--nixos/modules/security/acme/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/security/acme/default.nix b/nixos/modules/security/acme/default.nix
index 91ec24ab1f58..e9299fb1b3ad 100644
--- a/nixos/modules/security/acme/default.nix
+++ b/nixos/modules/security/acme/default.nix
@@ -190,7 +190,7 @@ let
);
renewOpts = escapeShellArgs (
commonOpts
- ++ [ "renew" ]
+ ++ [ "renew" "--no-random-sleep" ]
++ optionals data.ocspMustStaple [ "--must-staple" ]
++ data.extraLegoRenewFlags
);
@@ -223,9 +223,9 @@ let
# have many certificates, the renewals are distributed over
# the course of the day to avoid rate limits.
AccuracySec = "${toString (_24hSecs / numCerts)}s";
-
# Skew randomly within the day, per https://letsencrypt.org/docs/integration-guide/.
RandomizedDelaySec = "24h";
+ FixedRandomDelay = true;
};
};