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:
@@ -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";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user