From c039432b5caa4985484f603601dac47015b339c9 Mon Sep 17 00:00:00 2001 From: Bruce MacDonald Date: Mon, 23 Oct 2023 17:06:31 -0400 Subject: [PATCH] add current user to ollama group on install (#772) --- scripts/install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install.sh b/scripts/install.sh index 9b615989..93bd1eaf 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -74,6 +74,9 @@ configure_systemd() { $SUDO useradd -r -s /bin/false -m -d /usr/share/ollama ollama fi + status "Adding current user to ollama group..." + $SUDO usermod -a -G ollama $(whoami) + status "Creating ollama systemd service..." cat </dev/null [Unit]