Date: Tue, 31 Mar 2026 04:05:11 +0000 From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 6763b4d0d578 - main - misc/ollama: Fix HOME env var in service Message-ID: <69cb47f7.37be0.730ff306@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=6763b4d0d578d676ab5825f82cd448294219c585 commit 6763b4d0d578d676ab5825f82cd448294219c585 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2026-03-31 00:12:55 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2026-03-31 04:05:08 +0000 misc/ollama: Fix HOME env var in service --- misc/ollama/Makefile | 2 +- misc/ollama/files/ollama.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/ollama/Makefile b/misc/ollama/Makefile index 9c32dc904bc6..88dfe4931b8a 100644 --- a/misc/ollama/Makefile +++ b/misc/ollama/Makefile @@ -1,7 +1,7 @@ PORTNAME= ollama DISTVERSIONPREFIX= v DISTVERSION= 0.19.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org diff --git a/misc/ollama/files/ollama.in b/misc/ollama/files/ollama.in index 3fd963901f44..53c0ee807c29 100644 --- a/misc/ollama/files/ollama.in +++ b/misc/ollama/files/ollama.in @@ -50,6 +50,7 @@ ollama_precmd() { # set environment variables for the ollama server export OLLAMA_CONTEXT_LENGTH=${ollama_context_length} + export HOME=$(eval echo "~${ollama_user}") if [ "$ollama_use_vulkan" != "0" ]; then export OLLAMA_VULKAN=1 elsehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69cb47f7.37be0.730ff306>
