This commit is contained in:
Inex Code 2024-11-11 06:39:05 +03:00
parent 1df8b229dd
commit 7fe0f27f52

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 --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"; Restart = "always";
RestartSec = "5"; RestartSec = "5";
}; };