How to run Mantrachain with Systemd
systemd is a system and service manager for Linux operating systems that serves as the init system for initialising user space and managing system processes.
Last updated
systemd is a system and service manager for Linux operating systems that serves as the init system for initialising user space and managing system processes.
Last updated
The best way to run mantrachaind
as a daemon service is by also leveraging Cosmovisor. is a tool designed for managing and upgrading Cosmos SDK-based blockchain nodes. It simplifies the process of running a validator or full node by handling automatic upgrades and minimizing downtime
You will need to be running, at minimum, go 1.20
to run Cosmovisor.
Set up cosmovisor to ensure any future upgrades happen flawlessly. To install Cosmovisor:
(You may also refer to the Cosmovisor .)
Create the required directories:
mantrachaind
as a Servicemantrachaind
Once started, the node will take some time to sync with the blockchain.
The systemd
service manager allows the mantrachaind
binary to run as a service, instead of as a command-line application. (See for more information.)
Visit to see the current height of the blockchain. You can use the journalctl
command to check on the node's progress.