Setup startup script

Restarting PM2 with the processes you manage on server boot/reboot is critical. To solve this, just run this command to generate an active startup script

$ pm2 save

Read more about startup script generator here

Comments