Fix ExecStart command in systemd service to use NODE_PORT instead of BOOTSTRAP_PORT

- Update service creation to use NODE_PORT instead of undefined BOOTSTRAP_PORT
- This fixes the service startup failure where the wrong port variable was referenced
- Service command now correctly uses: /opt/debros/bin/node -data /opt/debros/data/node -port 4001
This commit is contained in:
johnysigma 2025-08-04 16:54:52 +03:00
parent 8b1fbdd9e3
commit 946e2568bb

View File

@ -693,7 +693,7 @@ create_systemd_service() {
# Determine the correct ExecStart command based on node type # Determine the correct ExecStart command based on node type
local exec_start="" local exec_start=""
exec_start="$INSTALL_DIR/bin/node -data $INSTALL_DIR/data/node -port $BOOTSTRAP_PORT" exec_start="$INSTALL_DIR/bin/node -data $INSTALL_DIR/data/node -port $NODE_PORT"
cat > /tmp/debros-$NODE_TYPE.service << EOF cat > /tmp/debros-$NODE_TYPE.service << EOF
[Unit] [Unit]