diff --git a/nixos/module.nix b/nixos/module.nix index 1d6f9a3..dc5ae20 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 --follow-fork ${selfprivacy-graphql-api}/bin/.app.py-wrapped"; + ExecStart = "${pkgs.memray}/bin/memray run --trace-python-allocators --follow-fork -o /root/memdump ${selfprivacy-graphql-api}/bin/.app.py-wrapped"; Restart = "always"; RestartSec = "5"; };