From 4f48a615e3f03a0a5135f0ff17eb4ab5e577f6ac Mon Sep 17 00:00:00 2001 From: ulmentflam Date: Fri, 14 Jun 2024 11:11:34 -0400 Subject: [PATCH] Calling ollama.service, removing UMask --- install/ollama-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/ollama-install.sh b/install/ollama-install.sh index 8bce9d26..67129cf0 100644 --- a/install/ollama-install.sh +++ b/install/ollama-install.sh @@ -22,6 +22,7 @@ msg_ok "Installed Dependencies" msg_info "Installing Ollama" $STD curl -fsSL https://ollama.com/install.sh | sh + msg_ok "Installed Ollama" msg_info "Creating Service" @@ -32,14 +33,13 @@ After=network-online.target [Service] Type=simple -UMask=007 ExecStart=/usr/bin/ollama serve Restart=always RestartSec=3 [Install] WantedBy=multi-user.target" >$service_path -systemctl enable --now -q ollama +systemctl enable -q --now ollama.service msg_ok "Created Service" motd_ssh