···307 Restart = "on-failure";
308 };
309 environment = env;
310+ # Allow the consumer to access the private /tmp directory of the server.
311+ # This is required to support consuming files via a local folder.
312+ unitConfig.JoinsNamespaceOf = "paperless-task-queue.service";
313 };
314315 systemd.services.paperless-web = {