[erlang-questions] mnesia shutdown
Tue May 15 16:29:48 CEST 2007
I'm not an expert, but init:stop() should be what you are looking for.
Martin Dvořák wrote:
> I'm building a mnesia application and I wonder how the system can be
> shutdown so that nothing that should be in the database is lost.
> Before the application shutdown I suspend all the processes (so that no
> more data is generated) and I wish to halt the node after everything has
> been written to disk.
> I've read mnesia and ejabberd sources and I found no point where the
> application ensures proper database shutdown.
> Can you point me to some docs or give a hint?
More information about the erlang-questions