mirror of
https://github.com/DeBrosOfficial/network.git
synced 2025-10-06 19:49:08 +00:00
Clean up output messages: remove duplicate 'node' and Node Type line
- Remove duplicate 'node node' references in service start messages - Remove 'Node Type: node' line from completion output - Simplify service messages to 'Starting/Started DeBros Network service' - Simplify final success messages to remove redundant 'node' references - Clean, professional output without confusing terminology duplication
This commit is contained in:
parent
d447f6546b
commit
0cabfd6381
@ -733,15 +733,15 @@ EOF
|
|||||||
|
|
||||||
# Start the service
|
# Start the service
|
||||||
start_service() {
|
start_service() {
|
||||||
log "Starting DeBros Network $NODE_TYPE node..."
|
log "Starting DeBros Network service..."
|
||||||
|
|
||||||
sudo systemctl start debros-$NODE_TYPE.service
|
sudo systemctl start debros-$NODE_TYPE.service
|
||||||
sleep 3
|
sleep 3
|
||||||
|
|
||||||
if systemctl is-active --quiet debros-$NODE_TYPE.service; then
|
if systemctl is-active --quiet debros-$NODE_TYPE.service; then
|
||||||
success "DeBros Network $NODE_TYPE node started successfully"
|
success "DeBros Network service started successfully"
|
||||||
else
|
else
|
||||||
error "Failed to start DeBros Network $NODE_TYPE node"
|
error "Failed to start DeBros Network service"
|
||||||
log "Check logs with: sudo journalctl -u debros-$NODE_TYPE.service"
|
log "Check logs with: sudo journalctl -u debros-$NODE_TYPE.service"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
@ -821,7 +821,6 @@ main() {
|
|||||||
fi
|
fi
|
||||||
log "${BLUE}==================================================${NOCOLOR}"
|
log "${BLUE}==================================================${NOCOLOR}"
|
||||||
|
|
||||||
log "${GREEN}Node Type:${NOCOLOR} ${CYAN}$NODE_TYPE${NOCOLOR}"
|
|
||||||
log "${GREEN}Installation Directory:${NOCOLOR} ${CYAN}$INSTALL_DIR${NOCOLOR}"
|
log "${GREEN}Installation Directory:${NOCOLOR} ${CYAN}$INSTALL_DIR${NOCOLOR}"
|
||||||
log "${GREEN}Configuration:${NOCOLOR} ${CYAN}$INSTALL_DIR/configs/$NODE_TYPE.yaml${NOCOLOR}"
|
log "${GREEN}Configuration:${NOCOLOR} ${CYAN}$INSTALL_DIR/configs/$NODE_TYPE.yaml${NOCOLOR}"
|
||||||
log "${GREEN}Logs:${NOCOLOR} ${CYAN}$INSTALL_DIR/logs/$NODE_TYPE.log${NOCOLOR}"
|
log "${GREEN}Logs:${NOCOLOR} ${CYAN}$INSTALL_DIR/logs/$NODE_TYPE.log${NOCOLOR}"
|
||||||
@ -841,9 +840,9 @@ main() {
|
|||||||
log "${BLUE}==================================================${NOCOLOR}"
|
log "${BLUE}==================================================${NOCOLOR}"
|
||||||
|
|
||||||
if [ "$UPDATE_MODE" = true ]; then
|
if [ "$UPDATE_MODE" = true ]; then
|
||||||
success "DeBros Network $NODE_TYPE node has been updated and is running!"
|
success "DeBros Network has been updated and is running!"
|
||||||
else
|
else
|
||||||
success "DeBros Network $NODE_TYPE node is now running!"
|
success "DeBros Network is now running!"
|
||||||
fi
|
fi
|
||||||
log "${CYAN}For documentation visit: https://docs.debros.io${NOCOLOR}"
|
log "${CYAN}For documentation visit: https://docs.debros.io${NOCOLOR}"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user