]> granicus.if.org Git - ejabberd/commitdiff
Start mnesia as a permanent application (thanks to Brian Cully)(EJAB-1068)
authorBadlop <badlop@process-one.net>
Mon, 19 Oct 2009 10:41:44 +0000 (10:41 +0000)
committerBadlop <badlop@process-one.net>
Mon, 19 Oct 2009 10:41:44 +0000 (10:41 +0000)
SVN Revision: 2673

src/ejabberd_app.erl

index 8c97394c20f8ab741d9f23322e6177f812879b70..2e6d04251ed48c5bc0aea6f839ef576287498aed 100644 (file)
@@ -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