1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

nixos/acme: add random delay to timer

This way we behave like good citizens and won't overload Let's Encrypt
with lots of cert renewal requests at the same time.
This commit is contained in:
Franz Pletz 2017-01-25 19:11:42 +01:00
parent 2a939c4b21
commit 516760a6fb
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -284,6 +284,8 @@ in
OnCalendar = cfg.renewInterval;
Unit = "acme-${cert}.service";
Persistent = "yes";
AccuracySec = "5m";
RandomizedDelaySec = "1h";
};
})
);