nixos/dendrite: set LimitNOFILE to 65535

This commit is contained in:
Nick Cao 2022-04-08 20:42:10 +08:00
parent 8ca35ce3e2
commit b79e0a0e06
No known key found for this signature in database
GPG key ID: 068A56CEF48FA2C1

View file

@ -247,6 +247,7 @@ in
WorkingDirectory = workingDir;
RuntimeDirectory = "dendrite";
RuntimeDirectoryMode = "0700";
LimitNOFILE = 65535;
EnvironmentFile = lib.mkIf (cfg.environmentFile != null) cfg.environmentFile;
ExecStartPre = ''
${pkgs.envsubst}/bin/envsubst \