nixos/nft-update-addresses: propagate nftables.service reload to rule flush

main
Felix Stupp 1 month ago
parent b059c77f71
commit c73351f6e2
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -114,6 +114,7 @@ in
requisite = lib.singleton "nftables.service"; requisite = lib.singleton "nftables.service";
wantedBy = lib.singleton "multi-user.target"; wantedBy = lib.singleton "multi-user.target";
upheldBy = lib.singleton "systemd-networkd.service"; upheldBy = lib.singleton "systemd-networkd.service";
unitConfig.ReloadPropagatedFrom = lib.singleton "nftables.service";
restartIfChanged = true; restartIfChanged = true;
restartTriggers = config.systemd.services.nftables.restartTriggers; restartTriggers = config.systemd.services.nftables.restartTriggers;
serviceConfig = { serviceConfig = {

Loading…
Cancel
Save