|
|
@@ -1,5 +1,5 @@
|
|
|
[Unit]
|
|
|
-Description=Small description of the service
|
|
|
+Description=User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
|
|
|
After=network.target
|
|
|
|
|
|
[Service]
|
|
|
@@ -11,6 +11,7 @@ EnvironmentFile=__INSTALL_DIR__/.env
|
|
|
ExecStart=/usr/bin/bash -c 'source __INSTALL_DIR__/venv/bin/activate && open-webui serve'
|
|
|
StandardOutput=append:/var/log/__APP__/__APP__.log
|
|
|
StandardError=inherit
|
|
|
+TimeoutStartSec=300
|
|
|
|
|
|
### Depending on specificities of your service/app, you may need to tweak these
|
|
|
### .. but this should be a good baseline
|