How to automatically restart forever (for Node.js scripts and servers) on a system reboot
I use forever to start my Node.js scripts, to ensure that if it crashed, it would just auto-restart. An issue arises though if the server itself reboots. Which for some reason happened on a DigitalOcean droplet I was using. So I needed to figure out a way to restart the forever process on system reboot.