Files
open-webui-installer/run-open-webui
2026-04-06 21:39:23 +02:00

18 lines
372 B
Bash

#!/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