@@ -21,8 +21,6 @@
-behaviour(application).
--emqx_plugin(?MODULE).
-
%% Application callbacks
-export([ start/2
, stop/1
@@ -56,4 +54,4 @@ initialize_authenticators([#{name := Name} = AuthenticatorConfig | More]) ->
initialize_authenticators(More);
{error, Reason} ->
?LOG(error, "Failed to create authenticator '~s': ~p", [Name, Reason])
- end.
+ end.
@@ -16,8 +16,6 @@
-module(emqx_bridge_mqtt_app).
--emqx_plugin(bridge).
-export([start/2, stop/1]).
@@ -18,8 +18,6 @@
]).
-define(APP, emqx_management).
@@ -18,9 +18,9 @@
--export([start/2]).
--export([stop/1]).
+-export([ start/2
+ , stop/1
+ ]).
start(_Type, _Args) ->
{ok, Sup} = emqx_modules_sup:start_link(),
-export([start/2]).
-export([stop/1]).