pm2 register app to autostart on boot code example Example: pm2 autostart on launch pm2 set pm2:autodump true