Merge pull request #167866 from NickCao/dendrite-limit

This commit is contained in:
Martin Weinelt 2022-04-17 16:01:34 +02:00 committed by GitHub
commit 5bd659fb4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 \