It probably depends on your needs.

Do you need to start your app after system reboot?
Do you need to monitor your app and restart it if it hangs?

And anyway, tmux is better than screen :).

On Wed, Oct 17, 2012 at 6:59 PM, Jimb Esser <[email protected]> wrote:

> Is there a problem with running in "screen"?  I've very little actual
> Linux experience, but we've been very happy with running ours in "screen",
> lets us trivially get both the aspects of a daemon, automatic logging all
> output to one stream, and be able to connect to it interactively when
> things need to be debugged.  In general, we still need something like runit
> to actually launch the screen'd node process, and re-launch it if it fails,
> but I don't see why running in a screen would be bad (but am by no means an
> expert =).
>
>
> On Wednesday, October 17, 2012 6:33:02 AM UTC-7, Matt Sergeant 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.rackaid.com/resources/linux-screen-tutorial-and-how-to/>
>>> > http://www.gnu.org/software/**screen/manual/screen.html<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:nod...@googlegroups.**com] 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<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<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<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
>>> >> 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<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
>>> > 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<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
>>> 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 [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
>
> --
> ico
>
>  <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

Reply via email to