mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 02:55:39 +00:00
nixos/paperless-ng: fix #164615
Add an exception to the `paperless-ng-server` service's `SystemCallFilter` as the `mbind` syscall is needed when consuming a document while having a classification model present.
This commit is contained in:
parent
dd8cebebbf
commit
fd2215b20c
@ -214,6 +214,8 @@ in
|
||||
User = cfg.user;
|
||||
ExecStart = "${cfg.package}/bin/paperless-ng qcluster";
|
||||
Restart = "on-failure";
|
||||
# The `mbind` syscall is needed for running the classifier.
|
||||
SystemCallFilter = defaultServiceConfig.SystemCallFilter ++ [ "mbind" ];
|
||||
};
|
||||
environment = env;
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
Loading…
Reference in New Issue
Block a user