guru/sci-ml/ollama/files/ollama.init
Paul Zander 6ffd638c2e
sci-ml/ollama: add 0.6.3, update 9999
Reworked the openrc init files.
Installs to /usr/$(get_libdir) now.
Avoids pointless copying for CUDA/ROCM files just to delete them afterwards.

Closes: https://bugs.gentoo.org/950633
Closes: https://bugs.gentoo.org/946268
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
2025-03-31 23:32:01 +02:00

10 lines
258 B
Plaintext

#!/sbin/openrc-run
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License, v2
supervisor=supervise-daemon
description="Ollama Service"
command="/usr/bin/ollama"
command_args="serve"
command_user="ollama:ollama"