Add services for llama stuff

This commit is contained in:
Salt 2024-06-28 11:30:25 -05:00
parent 71dd9ad849
commit ef02f6e3b8
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
[Unit]
Description=Ollama Service
After=network-online.target
[Service]
ExecStart=/home/salt/Projects/ollama/ollama serve
Restart=always
RestartSec=3
[Install]
WantedBy=default.target

View File

@ -0,0 +1,11 @@
[Unit]
Description=OpenWebUI Service
After=network-online.target
[Service]
ExecStart=/home/salt/Projects/ollama/run-webui.sh
Restart=always
RestartSec=3
[Install]
WantedBy=default.target