mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 14:18:13 +03: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 = {
|
serviceConfig = {
|
||||||
ExecStart = "${samba}/sbin/${appName} ${args}";
|
ExecStart = "${samba}/sbin/${appName} ${args}";
|
||||||
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
|
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
|
||||||
|
LimitNOFILE = 16384;
|
||||||
Type = "notify";
|
Type = "notify";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user