mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #147834 from Mic92/acme
nixos/acme: Fix rate limiting of selfsigned services
This commit is contained in:
commit
1a5052b796
1 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,7 @@ let
|
|||
|
||||
unitConfig = {
|
||||
ConditionPathExists = "!/var/lib/acme/.minica/key.pem";
|
||||
StartLimitIntervalSec = 0;
|
||||
};
|
||||
|
||||
serviceConfig = commonServiceConfig // {
|
||||
|
@ -235,6 +236,7 @@ let
|
|||
|
||||
unitConfig = {
|
||||
ConditionPathExists = "!/var/lib/acme/${cert}/key.pem";
|
||||
StartLimitIntervalSec = 0;
|
||||
};
|
||||
|
||||
serviceConfig = commonServiceConfig // {
|
||||
|
|
Loading…
Reference in a new issue