Automatic Restart on System Reboot With PM2
💡 Using PM2 with Node.js?
👉🏼 Your app won't start automatically when the system reboots unless you configure PM2 to run as a daemon service:
1. ➡️ pm2 startup
2. Run the command printed out
3. Start your Node.js app(s)
4. ➡️ pm2 save

Download the VPS Security Cheatsheet
No spam! 🙅🏻♀️ Unsubscribe at any time.