summarylogtreecommitdiffstats
path: root/open-webui.service
diff options
context:
space:
mode:
authorAseem Athale2024-10-09 13:38:18 +0530
committerAseem Athale2024-10-09 13:38:18 +0530
commit8f734a45c6d0104b2538358664f69de5fe8055f5 (patch)
treea9dceeda1e539900d0d0118ba9d8003b085ef1be /open-webui.service
downloadaur-8f734a45c6d0104b2538358664f69de5fe8055f5.tar.gz
open-webui: Initial commit
Signed-off-by: Aseem Athale <athaleaseem@gmail.com>
Diffstat (limited to 'open-webui.service')
-rw-r--r--open-webui.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/open-webui.service b/open-webui.service
new file mode 100644
index 000000000000..468fa5486a25
--- /dev/null
+++ b/open-webui.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=Open Web UI for LLMs
+After=network.target
+
+[Service]
+Type=simple
+User=open-webui
+Group=open-webui
+WorkingDirectory=/opt/open-webui
+Environment=PYTHONUNBUFFERED=1
+EnvironmentFile=/etc/open-webui.conf
+ExecStart=/bin/bash -c "cd /opt/open-webui/backend && source ./venv/bin/activate && bash start.sh"
+
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target