mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
nixos/samba: increase LimitNOFILE to recommended value (#32085)
fixes warning: rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) https://serverfault.com/a/641411
This commit is contained in:
parent
fbc452c836
commit
ffc0bfa5b7
@ -56,6 +56,7 @@ let
|
||||
serviceConfig = {
|
||||
ExecStart = "${samba}/sbin/${appName} ${args}";
|
||||
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
|
||||
LimitNOFILE = 16384;
|
||||
Type = "notify";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user