Skip to main content

Node Operations

You should replace <serviceName> by the name of the service that you created to run your node. For instance, wardend, hedged, or 0gchain are the name of the example services that commonly used to operate nodes of corresponding projects.

  1. Check logs

    sudo journalctl -fu <serviceName> -o cat
  2. Start service

    sudo systemctl start <serviceName>
  3. Stop service

    sudo systemctl stop <serviceName>
  4. Restart service

    sudo systemctl restart <serviceName>
  5. Check service status

    sudo systemctl status <serviceName>
  6. Reload services

    sudo systemctl daemon-reload
  7. Enable Service

    sudo systemctl enable <serviceName>
  8. Disable Service

    sudo systemctl disable <serviceName>
  9. Node info

    <serviceName> status 2>&1 | jq