forked from mirrors/nixpkgs
diod service: Capabilities -> CapabilityBoundingSet
`Capabilities` is obsolete in recent systemd and will be simply ignored. Note: this is the only service using `Capabilites`, per `git grep`.
This commit is contained in:
parent
f7e7b814a9
commit
a03cbebeb5
|
@ -153,7 +153,7 @@ in
|
|||
after = [ "network.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.diod}/sbin/diod -f -c ${diodConfig}";
|
||||
Capabilities = "cap_net_bind_service+=ep";
|
||||
CapabilityBoundingSet = "cap_net_bind_service+=ep";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue