git: 64bbf0d68863 - main - misc/llama-cpp: Small corrections
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Apr 2025 10:07:57 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=64bbf0d68863a931fddb00804a3c72b9cce56fbe commit 64bbf0d68863a931fddb00804a3c72b9cce56fbe Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2025-04-09 04:37:40 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2025-04-09 10:07:52 +0000 misc/llama-cpp: Small corrections --- misc/llama-cpp/Makefile | 1 + misc/llama-cpp/files/llama-server.in | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/misc/llama-cpp/Makefile b/misc/llama-cpp/Makefile index c1c19940dc9c..1c6fc9130cc1 100644 --- a/misc/llama-cpp/Makefile +++ b/misc/llama-cpp/Makefile @@ -1,6 +1,7 @@ PORTNAME= llama-cpp DISTVERSIONPREFIX= b DISTVERSION= 5083 +PORTREVISION= 1 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org diff --git a/misc/llama-cpp/files/llama-server.in b/misc/llama-cpp/files/llama-server.in index d3e564ee488c..9a105a633ce8 100644 --- a/misc/llama-cpp/files/llama-server.in +++ b/misc/llama-cpp/files/llama-server.in @@ -19,7 +19,7 @@ # llama_server_log (str): Log file that llama-server will write log to # Default: "/var/log/llama-server.log" (optional) # llama_server_pidfile (str): Pidfile file that llama-server's pid will be written to -# Default: "" (optional) +# Default: "/var/run/llama_server.pid" (optional) . /etc/rc.subr @@ -38,7 +38,7 @@ run_command="%%PREFIX%%/bin/llama-server" procname="${run_command}" pidfile=${llama_server_pidfile} command=/usr/sbin/daemon -command_args="-f -t ${name} -p ${pidfile} -o ${llama_server_log} ${run_command} -m ${llama_server_model} ${llama_server_args} --keep -1" +command_args="-f -t ${name} -p ${pidfile} -o ${llama_server_log} ${run_command} -m ${llama_server_model} ${llama_server_args}" start_precmd="llama_server_precmd" llama_server_chdir=/tmp