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
1 changed files with 1 additions and 0 deletions

View File

@ -143,6 +143,7 @@ in {
StateDirectory = "nsd-acme/${sanitized}";
LoadCredential = ["letsencrypt-account-key:${cfg.accountKey}"];
ReadWritePaths = ["/var/lib/nsd/acmezones"];
SuccessExitStatus = [0 1];
# from nixos/modules/security/acme/default.nix
ProtectSystem = "strict";