Add git to OpenClaw service PATH for npm deps

This commit is contained in:
ashisgreat22 2026-03-17 21:12:18 +01:00
parent cf27c28389
commit cd801d325b

View file

@ -96,6 +96,7 @@ in
]; ];
ExecStart = "${pkgs.nodejs_22}/bin/npx openclaw gateway start --port ${toString cfg.port}"; ExecStart = "${pkgs.nodejs_22}/bin/npx openclaw gateway start --port ${toString cfg.port}";
Path = [ pkgs.nodejs_22 pkgs.git pkgs.coreutils ];
Restart = "on-failure"; Restart = "on-failure";
RestartSec = "10s"; RestartSec = "10s";