Update flowiseai-install.sh
test
This commit is contained in:
parent
e8fcc7ec3d
commit
6a77af66a4
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue