paperless: fix uploading files via local folder
The consumer service needs to be in the same namespace as the task-queue, otherwise they cannot see each others temporary files. Same as for web uploading. See also the discussion here: https://github.com/paperless-ngx/paperless-ngx/discussions/5606
This commit is contained in:
parent
13aff9b34c
commit
9db96ee839
@ -307,6 +307,9 @@ in
|
||||
Restart = "on-failure";
|
||||
};
|
||||
environment = env;
|
||||
# Allow the consumer to access the private /tmp directory of the server.
|
||||
# This is required to support consuming files via a local folder.
|
||||
unitConfig.JoinsNamespaceOf = "paperless-task-queue.service";
|
||||
};
|
||||
|
||||
systemd.services.paperless-web = {
|
||||
|
Loading…
Reference in New Issue
Block a user