nixos/dendrite: set LimitNOFILE to 65535
This commit is contained in:
parent
8ca35ce3e2
commit
b79e0a0e06
|
@ -247,6 +247,7 @@ in
|
||||||
WorkingDirectory = workingDir;
|
WorkingDirectory = workingDir;
|
||||||
RuntimeDirectory = "dendrite";
|
RuntimeDirectory = "dendrite";
|
||||||
RuntimeDirectoryMode = "0700";
|
RuntimeDirectoryMode = "0700";
|
||||||
|
LimitNOFILE = 65535;
|
||||||
EnvironmentFile = lib.mkIf (cfg.environmentFile != null) cfg.environmentFile;
|
EnvironmentFile = lib.mkIf (cfg.environmentFile != null) cfg.environmentFile;
|
||||||
ExecStartPre = ''
|
ExecStartPre = ''
|
||||||
${pkgs.envsubst}/bin/envsubst \
|
${pkgs.envsubst}/bin/envsubst \
|
||||||
|
|
Loading…
Reference in a new issue