From 5f6c099504d897c0dafe8fb56781fd1bd6b99617 Mon Sep 17 00:00:00 2001 From: mags0ft Date: Sat, 15 Nov 2025 15:15:17 +0100 Subject: [PATCH] further fixes for start.sh script --- src/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/start.sh b/src/start.sh index fa75191..78e3b25 100644 --- a/src/start.sh +++ b/src/start.sh @@ -26,13 +26,13 @@ fi trap cleanup SIGINT SIGTERM # kill any existing llama-server processes -pgrep llama-server | xargs kill +pkill llama-server # we have a string with all the command line arguments in the env var LLAMA_SERVER_CMD_ARGS; # it contains a.e. "-hf modelname -ctx_size 4096". # We need to pass these arguments to llama-server verbatim. -llama-server $LLAMA_SERVER_CMD_ARGS -port 3098 2>&1 | tee llama.server.log & +/app/llama-server $LLAMA_SERVER_CMD_ARGS -port 3098 2>&1 | tee llama.server.log & LLAMA_SERVER_PID=$! # store the process ID (PID) of the background command