[erlang-questions] erlang server process, how to stop it?

Caspar Florian Ebeling florian.ebeling@REDACTED
Tue Jul 15 11:14:03 CEST 2008


When I start an erlang process as a server, in the
unix sense, what is the preferred way to stop it?
I have an application callback module now, and
I would like to have it perform shutdown handlers
as well, but when I send an SIGTERM, erl
goes away with an exit code != 0 and no handlers
being invoked.

Should I go over an -sname and do something
pseudo-distrubuted to achieve that?

Florian

-- 
Florian Ebeling
florian.ebeling@REDACTED



More information about the erlang-questions mailing list