I run my node servers in a 'screen'. This also keeps me the last console output, I can simply kill it with reattaching the screen and hitting ctrl+c. etc. Only drawback, it doesn't autostart on reboot.
On Sun, Feb 19, 2012 at 1:26 PM, Angelo Chen <[email protected]> wrote: > a quick solution is, run the screen first. > > On Feb 19, 7:23 pm, jeeee <[email protected]> wrote: >> Hello, >> >> my node.js simple http server goes offline as soon as I logout of my ubuntu >> shell. >> >> How do I keep it alive 24/7? > > -- > 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
