nohup also seems a good option. Used with supervisor it also tracks code changes.
nohup supervisor app.js & All logs are sent to nohup.out in the current folder by default. On Tue, Oct 16, 2012 at 9:03 PM, Julian Lannigan <julian.lanni...@homes.com>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 <rhas...@gmail.com> 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: nod...@googlegroups.com [mailto:nod...@googlegroups.**com] On >>> Behalf >>> Of William Myers >>> Sent: Tuesday, October 16, 2012 2:53 AM >>> To: nod...@googlegroups.com >>> 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<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 nod...@googlegroups.com To >>> unsubscribe from this group, send email to >>> nodejs+un...@**googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/**group/nodejs?hl=en?hl=en<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 nodejs@googlegroups.com >> To unsubscribe from this group, send email to >> nodejs+unsubscr...@googlegroups.com >> 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 nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > 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 nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en