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:
parent
2a939c4b21
commit
516760a6fb
|
@ -284,6 +284,8 @@ in
|
|||
OnCalendar = cfg.renewInterval;
|
||||
Unit = "acme-${cert}.service";
|
||||
Persistent = "yes";
|
||||
AccuracySec = "5m";
|
||||
RandomizedDelaySec = "1h";
|
||||
};
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue