From 3755c324fd740f7a06f7ebae955b400a56c4b403 Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Sat, 14 Sep 2024 13:31:38 -0500 Subject: [PATCH] Add LD_LIBRARY_PATH to ollama service --- base/.config/systemd/user/ollama.service | 1 + 1 file changed, 1 insertion(+) diff --git a/base/.config/systemd/user/ollama.service b/base/.config/systemd/user/ollama.service index 6a278c19..995615fb 100644 --- a/base/.config/systemd/user/ollama.service +++ b/base/.config/systemd/user/ollama.service @@ -4,6 +4,7 @@ After=network-online.target [Service] Environment="OLLAMA_HOST=0.0.0.0" +Environment="LD_LIBRARY_PATH=/var/home/salt/Projects/ollama/rocm/lib/ollama/" ExecStart=/home/salt/Projects/ollama/ollama serve Restart=always RestartSec=3