From da50ec62159cee5fc847356691422ff6313c5c38 Mon Sep 17 00:00:00 2001 From: Badlop Date: Mon, 19 Oct 2009 10:41:44 +0000 Subject: [PATCH] Start mnesia as a permanent application (thanks to Brian Cully)(EJAB-1068) SVN Revision: 2673 --- src/ejabberd_app.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ejabberd_app.erl b/src/ejabberd_app.erl index 8c97394c2..2e6d04251 100644 --- a/src/ejabberd_app.erl +++ b/src/ejabberd_app.erl @@ -122,7 +122,7 @@ db_init() -> _ -> ok end, - mnesia:start(), + application:start(mnesia, permanent), mnesia:wait_for_tables(mnesia:system_info(local_tables), infinity). %% Start all the modules in all the hosts