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:
Joachim Fasting 2016-05-27 16:23:02 +02:00
parent f7e7b814a9
commit a03cbebeb5
No known key found for this signature in database
GPG Key ID: 4330820E1E04DCF4

View File

@ -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";
};
};
};