Run the Node with Systemd
cd ~/preprodnet/scripts
nano node.sh#!/bin/bash
#
# We will set a few variables to shorten our launch command
# Database Path
DB=/home/preprod/preprodnet/db
# Socket Path
SOCKET=/home/preprod/preprodnet/socket/node.socket
# Configuration File
CONFIG=/home/preprod/preprodnet/config/config.json
# Topology File
TOPOLOGY=/home/preprod/preprodnet/config/topology.json
# Host Address. We will set this to 'listen' for incoming connections
HOST=0.0.0.0
# Please change <your port> to the port for either your block producing node or relay
PORT=<your port>
#
# Command to run the node
#
/home/preprod/preprodnet/bin/cardano-node run --topology $TOPOLOGY --database-path $DB --socket-path $SOCKET --port $PORT --config $CONFIG --host-addr $HOST


PreviousConfiguring and Running the NodeNextConfiguring the Topologies of the Relay and Block Producing Nodes
Last updated