I've upgraded my Ubuntu OS from a dev version to a stable one. The code 
below work fine with the unstable version:

description "node.js server"
> author      "kvz"
>
> start on startup
> stop on shutdown
>
> script
>     export HOME="/root"
>
>     exec /usr/local/bin/node /where/yourprogram.js >> /var/log/node.log 
> 2>&1
> end script
>

 When I check its status with: *initctl status yourprogram *It indicates 
that my app is running. However, it doesn't receive and send data.

But when I stop Upstart with the command *pkill node* and run the app 
manually it works.

If I stop the app I run it manually (^C) and let upstart handles for the 
rest and then uninterruptedly start the app manually it throws error but 
keep running (cluster has caused this). In this case, it doesn't receive 
and transfer data.

How do I cure this symptom. I don't want keep my home computer running. 
This should be done on a server side. Node.js version is 0.10.13. I can't 
downgrade to Ubuntu unstable version either, because the web hosting has 
removed it.

Thank you, 

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

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to