Add LD_LIBRARY_PATH to ollama service

This commit is contained in:
Salt 2024-09-14 13:31:38 -05:00
parent bf0bf38370
commit 3755c324fd

View File

@ -4,6 +4,7 @@ After=network-online.target
[Service] [Service]
Environment="OLLAMA_HOST=0.0.0.0" 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 ExecStart=/home/salt/Projects/ollama/ollama serve
Restart=always Restart=always
RestartSec=3 RestartSec=3