|
@@ -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.
|