|
|
@@ -0,0 +1,27 @@
|
|
|
+%%--------------------------------------------------------------------
|
|
|
+%% Copyright (c) 2022 EMQ Technologies Co., Ltd. All Rights Reserved.
|
|
|
+%%--------------------------------------------------------------------
|
|
|
+
|
|
|
+-module(emqx_ee_connector_sup).
|
|
|
+
|
|
|
+-behaviour(supervisor).
|
|
|
+
|
|
|
+-export([start_link/0]).
|
|
|
+
|
|
|
+-export([init/1]).
|
|
|
+
|
|
|
+-define(SERVER, ?MODULE).
|
|
|
+
|
|
|
+start_link() ->
|
|
|
+ supervisor:start_link({local, ?SERVER}, ?MODULE, []).
|
|
|
+
|
|
|
+init([]) ->
|
|
|
+ SupFlags = #{
|
|
|
+ strategy => one_for_all,
|
|
|
+ intensity => 0,
|
|
|
+ period => 1
|
|
|
+ },
|
|
|
+ ChildSpecs = [],
|
|
|
+ {ok, {SupFlags, ChildSpecs}}.
|
|
|
+
|
|
|
+%% internal functions
|