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]
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