fix(fileflows): configure node with localhost server address on install

Remove interactive read prompt; default to http://localhost:19200 so
the node config is populated and the service no longer restart-loops
with 'Configuration not set'.
This commit is contained in:
MickLesk
2026-05-28 07:47:09 +02:00
parent f97a8642c6
commit 8abcc74b1b
+1 -2
View File
@@ -46,10 +46,9 @@ if [[ "$install_server" =~ ^[Ss]$ ]]; then
systemctl enable -q --now fileflows
msg_ok "Installed FileFlows Server"
else
read -r -p "${TAB3}Enter the FileFlows Server address (e.g. http://192.168.1.10:19200): " server_address
msg_info "Installing FileFlows Node"
cd /opt/fileflows/Node
$STD dotnet FileFlows.Node.dll --server "$server_address" --systemd install --root true
$STD dotnet FileFlows.Node.dll --server "http://localhost:19200" --systemd install --root true
systemctl enable -q --now fileflows-node
msg_ok "Installed FileFlows Node"
fi