On Sun, Feb 19, 2012 at 10:24 PM, Karl Tiedt <[email protected]> wrote:
> nohup node blah.js &
>
> does not need to be any more complicated than this....

Start node in background and redirect stdout and stderr to log-files:

nohup node blah.js > output.log 2> error.log < /dev/null &

And to redirect only stderr to a log-file:

nohup node blah.js > /dev/null 2> error.log < /dev/null &

-- 
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