uacme can return 1 when cert is up to date

This commit is contained in:
Motiejus Jakštys 2023-08-10 00:37:21 +03:00
parent 76a748e086
commit 9059f84632

View File

@ -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";