diff options
author | Jamey Sharp <jamey@minilop.net> | 2019-07-06 09:24:49 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2019-07-06 09:24:49 -0700 |
commit | c38fa99757baec0ba04c41985783b6f63a58ced2 (patch) | |
tree | 0dea43c13581f4743c42dc5dd0d7c3fb73a58eb7 /nixos/modules/services | |
parent | 4c64375e91ca400c646316ae2da8d3603aebfb9c (diff) | |
download | nixlib-c38fa99757baec0ba04c41985783b6f63a58ced2.tar nixlib-c38fa99757baec0ba04c41985783b6f63a58ced2.tar.gz nixlib-c38fa99757baec0ba04c41985783b6f63a58ced2.tar.bz2 nixlib-c38fa99757baec0ba04c41985783b6f63a58ced2.tar.lz nixlib-c38fa99757baec0ba04c41985783b6f63a58ced2.tar.xz nixlib-c38fa99757baec0ba04c41985783b6f63a58ced2.tar.zst nixlib-c38fa99757baec0ba04c41985783b6f63a58ced2.zip |
nixos/nscd: don't need to specify username
Thanks to @arianvp for pointing out that when DynamicUser is true, systemd defaults the value of User to be the name of the unit, which in this case is already "nscd".
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/system/nscd.nix | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/modules/services/system/nscd.nix b/nixos/modules/services/system/nscd.nix index cf034caa1285..d094e9893ff0 100644 --- a/nixos/modules/services/system/nscd.nix +++ b/nixos/modules/services/system/nscd.nix @@ -55,7 +55,6 @@ in serviceConfig = { ExecStart = "@${pkgs.glibc.bin}/sbin/nscd nscd"; Type = "forking"; - User = "nscd"; DynamicUser = true; RuntimeDirectory = "nscd"; PIDFile = "/run/nscd/nscd.pid"; |