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
1 changed files with 2 additions and 0 deletions
|
@ -284,6 +284,8 @@ in
|
|||
OnCalendar = cfg.renewInterval;
|
||||
Unit = "acme-${cert}.service";
|
||||
Persistent = "yes";
|
||||
AccuracySec = "5m";
|
||||
RandomizedDelaySec = "1h";
|
||||
};
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue