Merge pull request #2601 from emqx/fix_2595

Fix #2595
This commit is contained in:
turtleDeng 2019-06-06 11:31:32 +08:00 committed by GitHub
commit 2ed5cb3b6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,8 @@ start() ->
restart(ConfFile) -> restart(ConfFile) ->
reload_config(ConfFile), reload_config(ConfFile),
shutdown(), shutdown(),
ok = application:stop(mnesia),
application:start(mnesia),
reboot(). reboot().
%% @doc Stop emqx application. %% @doc Stop emqx application.