Jelajahi Sumber

Update systemd.service

DeMiro5001 6 bulan lalu
induk
melakukan
7d75effdb0
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      conf/systemd.service

+ 1 - 0
conf/systemd.service

@@ -7,6 +7,7 @@ Type=simple
 User=__APP__
 Group=__APP__
 WorkingDirectory=__INSTALL_DIR__/
+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