I use it for development and testing-semi-production. You are very right there are far superior tools. If you take Williams question literally "I started something manually through ssh, but when I closed the connection it died". "screen" is the answer to exactly that problem. Maybe its good to tell, "screen is a solution to the problem you are seeing, but actually you want to take it beyond that", or maybe its just that
Kind regards, Axel On Wed, Oct 17, 2012 at 3:32 PM, Matt <[email protected]> wrote: > It does bother me a bit that people are running their node daemons in > "screen". Can I at least presume this isn't for production? > > I highly recommend using runit - it restarts on failure and is very simple > to install and use, and handles logging (including timestamping and log > rotation), privilege dropping, and environment variable setting. > > > On Wed, Oct 17, 2012 at 12:09 AM, Axel Kittenberger <[email protected]> > wrote: >> >> +2 for screen. I also run my node.js daemon in a "screen". >> >> On Tue, Oct 16, 2012 at 5:33 PM, Julian Lannigan >> <[email protected]> wrote: >> > +1 for screen >> > >> > some links: >> > http://www.rackaid.com/resources/linux-screen-tutorial-and-how-to/ >> > http://www.gnu.org/software/screen/manual/screen.html >> > >> > Julian Lannigan >> > >> > >> > >> > >> > On Tue, Oct 16, 2012 at 11:21 AM, rhasson <[email protected]> wrote: >> >> >> >> use "screen" >> >> >> >> >> >> On Tuesday, October 16, 2012 10:24:40 AM UTC-4, Chad Engler wrote: >> >>> >> >>> Just use: >> >>> >> >>> > forever start <script> >> >>> >> >>> And see what is running: >> >>> >> >>> > forever list >> >>> >> >>> And stop a script: >> >>> >> >>> > forever stop <index_or_script_name> >> >>> >> >>> -Chad >> >>> >> >>> -----Original Message----- >> >>> From: [email protected] [mailto:[email protected]] On >> >>> Behalf >> >>> Of William Myers >> >>> Sent: Tuesday, October 16, 2012 2:53 AM >> >>> To: [email protected] >> >>> Subject: [nodejs] Forever with ssh >> >>> >> >>> Is that a way to run forever in an ssh connection so that it continues >> >>> to run even after the connection has been severed? >> >>> >> >>> Currently, I have only had success with $ nohup node app.js however I >> >>> would like to use forever and thought that it could be used like a >> >>> daemon tool to keep a process going. >> >>> >> >>> -- >> >>> Job Board: http://jobs.nodejs.org/ >> >>> Posting guidelines: >> >>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> >>> You received this message because you are subscribed to the Google >> >>> Groups "nodejs" group. >> >>> To post to this group, send email to [email protected] To >> >>> unsubscribe from this group, send email to >> >>> [email protected] >> >>> For more options, visit this group at >> >>> http://groups.google.com/group/nodejs?hl=en?hl=en >> >> >> >> -- >> >> Job Board: http://jobs.nodejs.org/ >> >> Posting guidelines: >> >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> >> You received this message because you are subscribed to the Google >> >> Groups "nodejs" group. >> >> To post to this group, send email to [email protected] >> >> To unsubscribe from this group, send email to >> >> [email protected] >> >> For more options, visit this group at >> >> http://groups.google.com/group/nodejs?hl=en?hl=en >> > >> > >> > -- >> > Job Board: http://jobs.nodejs.org/ >> > Posting guidelines: >> > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> > You received this message because you are subscribed to the Google >> > Groups "nodejs" group. >> > To post to this group, send email to [email protected] >> > To unsubscribe from this group, send email to >> > [email protected] >> > For more options, visit this group at >> > http://groups.google.com/group/nodejs?hl=en?hl=en >> >> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en > > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
