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.
-
Check logs
sudo journalctl -fu <serviceName> -o cat
-
Start service
sudo systemctl start <serviceName>
-
Stop service
sudo systemctl stop <serviceName>
-
Restart service
sudo systemctl restart <serviceName>
-
Check service status
sudo systemctl status <serviceName>
-
Reload services
sudo systemctl daemon-reload
-
Enable Service
sudo systemctl enable <serviceName>
-
Disable Service
sudo systemctl disable <serviceName>
-
Node info
<serviceName> status 2>&1 | jq