diff --git a/hosts/TITAN/extras/shinobi.nix b/hosts/TITAN/extras/shinobi.nix index c03861a..429d306 100644 --- a/hosts/TITAN/extras/shinobi.nix +++ b/hosts/TITAN/extras/shinobi.nix @@ -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"; };