From a03cbebeb5b8bfb6004f5bf6dc4408c5c7cb7559 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Fri, 27 May 2016 16:23:02 +0200 Subject: [PATCH] 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`. --- nixos/modules/services/network-filesystems/diod.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/network-filesystems/diod.nix b/nixos/modules/services/network-filesystems/diod.nix index 7de7acaa4a0..556fad4d8ab 100644 --- a/nixos/modules/services/network-filesystems/diod.nix +++ b/nixos/modules/services/network-filesystems/diod.nix @@ -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"; }; }; };