Merge pull request #292823 from SuperSandro2000/paperless-too-many-open-files

nixos/paperless: fix too many open files
This commit is contained in:
Pol Dellaiera 2024-03-02 23:51:11 +01:00 committed by GitHub
commit f480f9f47e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -342,6 +342,7 @@ in
User = cfg.user;
Restart = "on-failure";
LimitNOFILE = 65536;
# gunicorn needs setuid, liblapack needs mbind
SystemCallFilter = defaultServiceConfig.SystemCallFilter ++ [ "@setuid mbind" ];
# Needs to serve web page