From ef02f6e3b804f338acb9fd75d2236c3bf3e3ebe9 Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Fri, 28 Jun 2024 11:30:25 -0500 Subject: [PATCH] Add services for llama stuff --- base/.config/systemd/user/ollama.service | 11 +++++++++++ base/.config/systemd/user/openwebui.service | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 base/.config/systemd/user/ollama.service create mode 100644 base/.config/systemd/user/openwebui.service diff --git a/base/.config/systemd/user/ollama.service b/base/.config/systemd/user/ollama.service new file mode 100644 index 00000000..a6a2c7c0 --- /dev/null +++ b/base/.config/systemd/user/ollama.service @@ -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 diff --git a/base/.config/systemd/user/openwebui.service b/base/.config/systemd/user/openwebui.service new file mode 100644 index 00000000..d75deb22 --- /dev/null +++ b/base/.config/systemd/user/openwebui.service @@ -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