Boot - Debian forever app.js
All,
I'm having an issue getting a forever app.js to launch during boot. Other scripts start, but not this one. I'm running on Debian. This seems to run on Fedora fine, but Debian isn't playing nicely. Script Code:
cd /opt/node For some reason I can't get the forever app.js to start at boot. My head is beginning to feel like this.:banghead: I've then tried placing it into the background and close the session, but as soon as I close the session it stops again. Soo more :banghead: I hope you can help me. |
I'm running Debian also and I have no program called forever. Maybe "forever" is some Fedora-specific thing.
Code:
Aptitude search forever Quote:
jdk |
Below is a link that explains how to install forever
https://github.com/nodejitsu/forever It is used to keep a nodejs server operational. I used npm to install. Code:
$ [sudo] npm install forever -g |
And have you installed the npm package? and then have you installed forever with npm?
jdk |
npm was already installed as part of the VPS. Yes forever was installed using npm.
|
All times are GMT -5. The time now is 05:47 PM. |