This is an installer script, that installs the open-webui as a service in
Archlinux. By default, the script will install into /opt/open-webui and keep it
updated, if necessary.
The script installs in several steps:
Create users, if not exist
Create a directory to install into
Create a virtual environment to install open-webui into
Activate the environment
Call the pip installer
Copy the service files into /etc/systemd/system
Before installing the service edit the variables in ./installer.conf as
appropriate.
The service can be installed with the following command: