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:
@@ -284,6 +284,8 @@ in
|
||||
OnCalendar = cfg.renewInterval;
|
||||
Unit = "acme-${cert}.service";
|
||||
Persistent = "yes";
|
||||
AccuracySec = "5m";
|
||||
RandomizedDelaySec = "1h";
|
||||
};
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user