TITAN/shinobi: run as non-root
This commit is contained in:
parent
451e1f067b
commit
f143d0bb82
1 changed files with 1 additions and 0 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue