Merge pull request #147834 from Mic92/acme

nixos/acme: Fix rate limiting of selfsigned services
This commit is contained in:
Jörg Thalheim 2021-11-29 10:58:51 +00:00 committed by GitHub
commit 1a5052b796
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 // {