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"; };