DeMiro5001 6 месяцев назад
Родитель
Сommit
fa1ad4d914
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      conf/systemd.service

+ 2 - 1
conf/systemd.service

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