fix: start sup
This commit is contained in:
parent
aa6f1ac88d
commit
b13ae50bed
|
@ -21,8 +21,9 @@
|
||||||
-export([start/2, stop/1]).
|
-export([start/2, stop/1]).
|
||||||
|
|
||||||
start(_StartType, _StartArgs) ->
|
start(_StartType, _StartArgs) ->
|
||||||
|
{ok, Sup} = emqx_auto_subscribe_sup:start_link(),
|
||||||
ok = emqx_auto_subscribe:load(),
|
ok = emqx_auto_subscribe:load(),
|
||||||
emqx_auto_subscribe_sup:start_link().
|
{ok, Sup}.
|
||||||
|
|
||||||
stop(_State) ->
|
stop(_State) ->
|
||||||
ok.
|
ok.
|
||||||
|
|
Loading…
Reference in New Issue