Prechádzať zdrojové kódy

Update systemd.service

DeMiro5001 6 mesiacov pred
rodič
commit
fa1ad4d914
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      conf/systemd.service

+ 2 - 1
conf/systemd.service

@@ -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