- Install forever with global option
sudo npm install -g forever
Making your forever app launch at boot using Ubuntu If you've installed forever and Node.js system-wide (so that they are located somewhere in $PATH), you can have your app started by forever at system-boot using Ubuntu's upstart. All you need to do is create a file named something like myapp.conf in /etc/init with the following contents:
start on startup
exec forever start /full/path/to/test.js