mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-18 23:39:00 -04:00
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>
10 lines
258 B
Plaintext
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"
|