๐คRunning with pm2
An alternative to manage multiple setups of the bot per chain to docker is process management via pm2. To do so, make sure that pm2 is correctly installed:
Navigate into the folder of the bot (usually white-whale-bots
), but instead of starting it the usual way you will use
This will create a process that runs the bot called app name
. It will also automatically try to restart the bot, if an error occurs or it holds for another reason.
Useful prompts
For more sophisticated management see the linked docs above.
Last updated