Protocol
7. Miner: Continuous operation
Run the miner with PM2 to avoid any downtime
PM2 is a process manager for Node.js applications that allows you to keep your miner running continuously without downtime. By using PM2, you can ensure that your miner automatically restarts if it crashes or if the server reboots. This helps maintain the stability and reliability of your mining operations.
By running the miner node with PM2, you will have better uptime and visibility of the miner logs.
Install PM2
Run the miner with PM2
To run the miner using PM2, run the following command:
Run the miner node with logs visible using PM2
Stop the PM2 miner
To stop the PM2 miner, run the following command: