Skip to content

Commit

Permalink
nixos/acme: add random delay to timer
Browse files Browse the repository at this point in the history
This way we behave like good citizens and won't overload Let's Encrypt
with lots of cert renewal requests at the same time.
  • Loading branch information
fpletz committed Jan 25, 2017
1 parent 2a939c4 commit 516760a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nixos/modules/security/acme.nix
Expand Up @@ -284,6 +284,8 @@ in
OnCalendar = cfg.renewInterval;
Unit = "acme-${cert}.service";
Persistent = "yes";
AccuracySec = "5m";
RandomizedDelaySec = "1h";
};
})
);
Expand Down

0 comments on commit 516760a

Please sign in to comment.