On Nov 28, 2013, at 6:36 AM, Denis Bardadym <bardadymc...@gmail.com> wrote:
> No, they all allow to invoke their functionality manually. > I think I asked wrong question. I want to have possibility to invoke such > modules externally (assume i have running node process), so i need some IPC > thing (and it is not a signal - it seems), which i can use to send ‘messages’ > like ‘make dump’, ‘rotate logs’, ‘run debugger’, etc. I still think attaching signal handlers should be left to the application code. That being said… :-) Seems to me like you’re looking for more external interaction than can be achieved with pure signals, anyway. Seems to me like the simplest way to do it would be to listen for strings on a protected unix domain socket. See the example here[1] that uses “nc -U”. [1]: http://nodejs.org/api/net.html#net_net_createserver_options_connectionlistener -- Brian Lalor bla...@bravo5.org -- -- 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.