From 6b2b251b622a27311cdf2e2b3eccc8f8e6543357 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 20 Aug 2024 07:42:04 +0000 Subject: automatic import of ollama --- ollama-ui.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ollama-ui.service (limited to 'ollama-ui.service') diff --git a/ollama-ui.service b/ollama-ui.service new file mode 100644 index 0000000..a0c692b --- /dev/null +++ b/ollama-ui.service @@ -0,0 +1,14 @@ +[Unit] +Description=Ollama UI Service +After=network-online.target +PartOf=ollama.service + +[Service] +ExecStart=/usr/bin/python3 -m http.server --bind 127.0.0.1 8000 -d /usr/share/ollama/ollama-ui +User=ollama +Group=ollama +Restart=always +RestartSec=3 + +[Install] +WantedBy=default.target -- cgit v1.2.3