TITAN/shinobi: configure OOM policy

This commit is contained in:
Max Headroom 2022-03-18 12:53:15 +01:00
parent e11fee895d
commit 7c46b40fde

View file

@ -53,6 +53,9 @@ in
User = "shinobi";
ExecStart = "${pkgs.nodejs-14_x}/bin/node ${shinobi}/bin/shinobi";
KillSignal = "HUP";
OOMPolicy = "continue";
Restart = "on-abnormal";
RestartSec = "5s";
};
environment.NODE_PATH = "${shinobi}/lib/node_modules/shinobi/node_modules";
};