Add runner script

This commit is contained in:
2026-04-06 21:39:23 +02:00
parent a007b0b21b
commit efa94b314d
2 changed files with 21 additions and 0 deletions

17
run-open-webui Normal file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/bash
# In order to start open-webui, systemd will launch
# this script. It will set up the environment, activate the .venv and
# launch the service.
# load the configuration
source /etc/open-webui/open-webui.conf
# Enter the directory
cd $OPEN_WEBUI_HOME
# Enter the virtual environment
source ./.venv/bin/activate
# And start the service
open-webui serve