[erlang-questions] What happens on TERM?

Daniel Dormont dan@REDACTED
Sat Oct 27 00:27:25 CEST 2012


Good point about the init.d process, I'd neglected that. So far it seems
like that will meet my need.

-dan

On Thu, Oct 25, 2012 at 4:42 PM, Yogish Baliga <baliga@REDACTED> wrote:

> If you have a script in /etc/init.d (on Unix flavored OS), stop is called
> on each them.
>
> -- baliga
>
> On Thu, Oct 25, 2012 at 11:07 AM, Daniel Dormont <dan@REDACTED
> > wrote:
>
>> Or, more precisely: I am running an Erlang VM as a daemon on Linux, with
>> a number of applications (Ejabberd and its various dependencies such as
>> Mnesia, specifically). When I issue a shutdown command on the machine, is
>> there a way to have the Erlang VM receive a signal and cleanly shutdown all
>> running applications? Or do I need to use some kind of custom script (for
>> example, Ejabberd includes ejabberdctl which has a stop command, so I guess
>> I could issue that and wait a bit before halting)?
>>
>> thanks
>> -Dan
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121026/e339af70/attachment.htm>


More information about the erlang-questions mailing list