From dce7b1430bfc0ad1f5eb77f0b8bc815fc843c13e Mon Sep 17 00:00:00 2001 From: Badlop Date: Mon, 19 Oct 2009 10:42:19 +0000 Subject: [PATCH] Start mnesia as a permanent application (thanks to Brian Cully)(EJAB-1068) SVN Revision: 2674 --- 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 bea1b0b7a..2942ef076 100644 --- a/src/ejabberd_app.erl +++ b/src/ejabberd_app.erl @@ -110,7 +110,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