Botpress is a node process, which needs another process to help itself run as a separate background process. We have been running Botpress in production without any difficulty using the pm2 tool. It is a daemon process manager that helps in managing and keeping your application online, even when the Botpress process goes down and will automatically take care of restarting the process.
Install pm2 using below command
npm install pm2 -g
Start Botpress as a background process
pm2 start './bp start -p'
You can also use below commands to manage Botpress process, the option names are self explanatory
pm2 list pm2 logs pm2 start './bp start -p' pm2 reload './bp start -p' pm2 stop './bp start -p' pm2 delete './bp start -p'