mirror of
https://github.com/DeBrosOfficial/network.git
synced 2025-10-06 06:39:07 +00:00
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:
parent
8b1fbdd9e3
commit
946e2568bb
@ -693,7 +693,7 @@ create_systemd_service() {
|
||||
|
||||
# Determine the correct ExecStart command based on node type
|
||||
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
|
||||
[Unit]
|
||||
|
Loading…
x
Reference in New Issue
Block a user