Check logs
sudo journalctl -u kopi -f -o cat
Start service
sudo systemctl start kopi
Stop service
sudo systemctl stop kopi
Restart service
sudo systemctl restart kopi
Check service status
sudo systemctl status kopi
Reload services
sudo systemctl daemon-reload
Enable Service
sudo systemctl enable kopi
Disable Service
sudo systemctl disable kopi
Sync info
kopid status 2>&1 | jq .SyncInfo
Node info
kopid status 2>&1 | jq .NodeInfo
Latest Block Info
curl -s localhost:27657/status | jq .result.sync_info.latest_block_height
Your node peer
echo $(kopid tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.kopid/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
Last updated 1 month ago