[erlang-questions] Killing a detached application

Thomas Lindgren thomasl_erlang@REDACTED
Wed Feb 27 19:20:31 CET 2008


--- Dave Bryson <daveb@REDACTED> wrote:

> My question is if you start a shell using "sname"
> and "-detached" how  
> do you properly/completely  stop it?  Is the sname
> held somewhere  
> different then a registered name?
> 
> My goal is to be able to control this from an init.d
> script.

>From what it sounds like, you only stopped your
application running on the node, so you must also stop
the erlang node itself. E.g., while inside that shell:

   init:stop().

Best,
Thomas



      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping



More information about the erlang-questions mailing list