From 1df8b229ddeca326390bd9ffa3133c8e3f7fb025 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Mon, 11 Nov 2024 06:36:43 +0300 Subject: [PATCH] try to fix memray --- nixos/module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/module.nix b/nixos/module.nix index 2de7902..1d6f9a3 100644 --- a/nixos/module.nix +++ b/nixos/module.nix @@ -51,7 +51,7 @@ in wantedBy = [ "network-online.target" ]; serviceConfig = { User = "root"; - ExecStart = "${pkgs.memray}/bin/memray run --trace-python-allocators --live-remote ${selfprivacy-graphql-api}/bin/app.py"; + ExecStart = "${pkgs.memray}/bin/memray run --trace-python-allocators --follow-fork ${selfprivacy-graphql-api}/bin/.app.py-wrapped"; Restart = "always"; RestartSec = "5"; };