From b069f4f185de0e12a6993b194f8fa72836747c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 13 Dec 2024 15:47:17 +0100 Subject: [PATCH] nixos/paperless: remove django-q workaround This was long ago migrated to celery https://github.com/paperless-ngx/paperless-ngx/pull/1648 --- nixos/modules/services/misc/paperless.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nixos/modules/services/misc/paperless.nix b/nixos/modules/services/misc/paperless.nix index b1401b1b470d..7f34f8d704ea 100644 --- a/nixos/modules/services/misc/paperless.nix +++ b/nixos/modules/services/misc/paperless.nix @@ -70,10 +70,7 @@ let ProtectKernelModules = true; ProtectKernelTunables = true; ProtectProc = "invisible"; - # Don't restrict ProcSubset because django-q requires read access to /proc/stat - # to query CPU and memory information. - # Note that /proc only contains processes of user `paperless`, so this is safe. - # ProcSubset = "pid"; + ProcSubset = "pid"; RestrictAddressFamilies = [ "AF_UNIX" "AF_INET" "AF_INET6" ]; RestrictNamespaces = true; RestrictRealtime = true;