Add LD_LIBRARY_PATH to ollama service
This commit is contained in:
parent
bf0bf38370
commit
3755c324fd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user