TITAN/shinobi: run as non-root

This commit is contained in:
Max Headroom 2022-03-17 22:26:42 +01:00
parent 451e1f067b
commit f143d0bb82

View file

@ -50,6 +50,7 @@ in
''; '';
serviceConfig = { serviceConfig = {
WorkingDirectory = dataDir; WorkingDirectory = dataDir;
User = "shinobi";
ExecStart = "${pkgs.nodejs-14_x}/bin/node ${shinobi}/bin/shinobi"; ExecStart = "${pkgs.nodejs-14_x}/bin/node ${shinobi}/bin/shinobi";
KillSignal = "HUP"; KillSignal = "HUP";
}; };