MyNode CLI commands - mynodebtc/mynode GitHub Wiki
These commands are located in /rootfs/standard/usr/bin
on this GitHub repo, are placed at /usr/bin
on the device
mynode-get-device-serial
Get the serial number of the device. This is not the product key for premium services.
mynode-get-device-type
Find the device type. It is either raspi3, raspi4, rock64, rockpro64 or debian
mynode-get-quicksync-status
Get information about quicksync and connected peers.
mynode-get-status
Shows the status of all the mynode-relavant apps and services in a tabular form and color-coding. It extracts the status from systemctl status
.
mynode-lnd-unlock
Manually unlocks the lightning wallet run on LND. It must be run with sudo.
mynode-local-upgrade
Manually upgrade myNode by pulling files from remote (or local) server. It must be run with sudo and IP adddress must be provided as an argument. Optional second argument (www or files) are meant for developers who don't to run a full upgrade and avoid reboot.
mynode-reboot
Safely reboots the device after stopping critical services to avoid potential data corruption. It must be run with sudo.
mynode-stop-services
Stops critical services of mynode like bitcoin, electrum, lnd. It must be run with sudo.