uacme can return 1 when cert is up to date
This commit is contained in:
parent
76a748e086
commit
9059f84632
@ -143,6 +143,7 @@ in {
|
|||||||
StateDirectory = "nsd-acme/${sanitized}";
|
StateDirectory = "nsd-acme/${sanitized}";
|
||||||
LoadCredential = ["letsencrypt-account-key:${cfg.accountKey}"];
|
LoadCredential = ["letsencrypt-account-key:${cfg.accountKey}"];
|
||||||
ReadWritePaths = ["/var/lib/nsd/acmezones"];
|
ReadWritePaths = ["/var/lib/nsd/acmezones"];
|
||||||
|
SuccessExitStatus = [0 1];
|
||||||
|
|
||||||
# from nixos/modules/security/acme/default.nix
|
# from nixos/modules/security/acme/default.nix
|
||||||
ProtectSystem = "strict";
|
ProtectSystem = "strict";
|
||||||
|
Loading…
Reference in New Issue
Block a user