Use PathModified in systemd path unit for Zitadel JWT

This commit is contained in:
Joshua Bell 2026-02-05 01:00:07 -06:00
parent 80ad7f5456
commit 3c694b6fb3

View file

@ -541,17 +541,17 @@ in
} }
) cfg.secrets) ) cfg.secrets)
// { // {
openbao-zitadel-jwt = { openbao-zitadel-jwt = {
description = "React to Zitadel JWT changes (restart vault-agent)"; description = "React to Zitadel JWT changes (restart vault-agent)";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
pathConfig = { pathConfig = {
PathChanged = cfg.zitadelJwtPath; PathModified = cfg.zitadelJwtPath;
Unit = "openbao-jwt-changed.service"; Unit = "openbao-jwt-changed.service";
TriggerLimitIntervalSec = 30; TriggerLimitIntervalSec = 30;
TriggerLimitBurst = 3; TriggerLimitBurst = 3;
}; };
}; };
openbao-secrets-ready = { openbao-secrets-ready = {
description = "Re-check OpenBao secrets readiness"; description = "Re-check OpenBao secrets readiness";