Merge pull request #78960 from aanderse/nslcd
nixos/ldap: remove redundant configuration options
This commit is contained in:
commit
d4a951f31d
@ -28,8 +28,6 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
nslcdConfig = writeText "nslcd.conf" ''
|
nslcdConfig = writeText "nslcd.conf" ''
|
||||||
uid nslcd
|
|
||||||
gid nslcd
|
|
||||||
uri ${cfg.server}
|
uri ${cfg.server}
|
||||||
base ${cfg.base}
|
base ${cfg.base}
|
||||||
timelimit ${toString cfg.timeLimit}
|
timelimit ${toString cfg.timeLimit}
|
||||||
@ -282,6 +280,7 @@ in
|
|||||||
Group = "nslcd";
|
Group = "nslcd";
|
||||||
RuntimeDirectory = [ "nslcd" ];
|
RuntimeDirectory = [ "nslcd" ];
|
||||||
PIDFile = "/run/nslcd/nslcd.pid";
|
PIDFile = "/run/nslcd/nslcd.pid";
|
||||||
|
AmbientCapabilities = "CAP_SYS_RESOURCE";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user