Merge pull request #296783 from newAM/fix-llama-cpp

nixos/llama-cpp: fix binary path
This commit is contained in:
Pol Dellaiera
2024-03-18 05:24:49 +01:00
committed by GitHub
+1 -1
View File
@@ -56,7 +56,7 @@ in {
serviceConfig = {
Type = "idle";
KillSignal = "SIGINT";
ExecStart = "${cfg.package}/bin/llama-cpp-server --log-disable --host ${cfg.host} --port ${builtins.toString cfg.port} -m ${cfg.model} ${utils.escapeSystemdExecArgs cfg.extraFlags}";
ExecStart = "${cfg.package}/bin/llama-server --log-disable --host ${cfg.host} --port ${builtins.toString cfg.port} -m ${cfg.model} ${utils.escapeSystemdExecArgs cfg.extraFlags}";
Restart = "on-failure";
RestartSec = 300;