Merge pull request #292823 from SuperSandro2000/paperless-too-many-open-files
nixos/paperless: fix too many open files
This commit is contained in:
commit
f480f9f47e
1 changed files with 1 additions and 0 deletions
|
@ -342,6 +342,7 @@ in
|
||||||
User = cfg.user;
|
User = cfg.user;
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
|
|
||||||
|
LimitNOFILE = 65536;
|
||||||
# gunicorn needs setuid, liblapack needs mbind
|
# gunicorn needs setuid, liblapack needs mbind
|
||||||
SystemCallFilter = defaultServiceConfig.SystemCallFilter ++ [ "@setuid mbind" ];
|
SystemCallFilter = defaultServiceConfig.SystemCallFilter ++ [ "@setuid mbind" ];
|
||||||
# Needs to serve web page
|
# Needs to serve web page
|
||||||
|
|
Loading…
Reference in a new issue