Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Yellow Dog, Fedora, RedHat, Centos, Ubuntu, Suse Linux
Posts: 106
Rep:
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
forever app.js
I can run the script and it works. rc.local doesn't seem to work on Debian. I read that I needed to put the script into the /etc/init.d/ which works to launch other processes for me, but NOT the forever portion. I even had guts of the script as part of another script that did work and the forever portion just doesn't work.
For some reason I can't get the forever app.js to start at boot. My head is beginning to feel like this.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.