3
0
Fork 0
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:
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";
};
};
};