Update flowiseai-install.sh

test
This commit is contained in:
tteckster 2024-03-13 06:57:42 -04:00 committed by GitHub
parent e8fcc7ec3d
commit 6a77af66a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,6 +30,8 @@ msg_ok "Installed Node.js"
msg_info "Installing FlowiseAI (Patience)" msg_info "Installing FlowiseAI (Patience)"
$STD npm install -g flowise $STD npm install -g flowise
mkdir -p /opt/flowiseai
wget -q https://raw.githubusercontent.com/FlowiseAI/Flowise/main/packages/server/.env.example -O /opt/flowiseai/.env
msg_ok "Installed FlowiseAI" msg_ok "Installed FlowiseAI"
msg_info "Creating Service" msg_info "Creating Service"
@ -39,6 +41,7 @@ Description=FlowiseAI
After=network.target After=network.target
[Service] [Service]
EnvironmentFile=/opt/flowiseai/.env
ExecStart=npx flowise start ExecStart=npx flowise start
Restart=always Restart=always