diff options
| author | tv <tv@krebsco.de> | 2026-12-01 00:46:56 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-12-01 01:33:34 +0000 |
| commit | 8085f764b6e344d5eae5f2aaf710ae4f3e4098ea (patch) | |
| tree | ee9c8d3488d971a79739dee2ff4481f3be378bab /modules/exim-smarthost.nix | |
| parent | 10eb6546fc88c73154d622048248266c64b3c53a (diff) | |
systemd.services.<name>.restartIfCredentialsChange and
reloadIfCredentialsChange replace hrm.systemd.services.<name>.…; the
alias for stockholm's krebs.systemd.services now points there. Units
can't be made from config.systemd.services itself, so the trigger
services become two templates, credentials-restart@ and
credentials-reload@, which call systemctl themselves; only the path units
remain per service, by their old names. Without comparing checksums
any more: the path units fire when a credential is written, and nothing
rewrites one unchanged.
Diffstat (limited to 'modules/exim-smarthost.nix')
| -rw-r--r-- | modules/exim-smarthost.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/exim-smarthost.nix b/modules/exim-smarthost.nix index 58d88a40..abbe8bd5 100644 --- a/modules/exim-smarthost.nix +++ b/modules/exim-smarthost.nix @@ -115,7 +115,7 @@ let }; imp = { - hrm.systemd.services.exim.restartIfCredentialsChange = true; + systemd.services.exim.restartIfCredentialsChange = true; systemd.services.exim.serviceConfig.LoadCredential = map (dkim: "${dkim.domain}.dkim_private_key:${dkim.private_key}") cfg.dkim; krebs.exim = { |
