Restart mnesia application
This commit is contained in:
parent
f3fcd16dee
commit
f46205daff
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue