try to fix memray

This commit is contained in:
Inex Code 2024-11-11 06:36:43 +03:00
parent e28e2cb4bf
commit 1df8b229dd

View file

@ -51,7 +51,7 @@ in
wantedBy = [ "network-online.target" ]; wantedBy = [ "network-online.target" ];
serviceConfig = { serviceConfig = {
User = "root"; 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"; Restart = "always";
RestartSec = "5"; RestartSec = "5";
}; };