Hi,
I am running a node.js server on my RaspberryPi and I cannot figure out how to properly program the script to run forever and the server on re-boot. The forever program runs fine (but I don’t think I installed it globally, so I have to go into the directory where the server.js file is to get it to run…)
I’d really appreciate it if someone could help me get the server to run on boot-up (in case the Pi crashes…)
I know it’s a simple script, but no matter how I configure the script, forever is not running on boot-up…
Thanks!