chore(modules): remove start emqx-ee load_modules
This commit is contained in:
parent
e80d95bd76
commit
96ee04bbd0
|
@ -40,9 +40,6 @@ start() ->
|
|||
ok = set_backtrace_depth(),
|
||||
ok = print_otp_version_warning(),
|
||||
|
||||
%% need to load some app envs
|
||||
%% TODO delete it once emqx boot does not depend on modules envs
|
||||
_ = load_modules(),
|
||||
ok = load_config_files(),
|
||||
|
||||
ok = ensure_apps_started(),
|
||||
|
@ -80,14 +77,6 @@ print_vsn() ->
|
|||
?ULOG("~s ~s is running now!~n", [emqx_app:get_description(), emqx_app:get_release()]).
|
||||
-endif. % TEST
|
||||
|
||||
-ifndef(EMQX_ENTERPRISE).
|
||||
load_modules() ->
|
||||
application:load(emqx_modules).
|
||||
-else.
|
||||
load_modules() ->
|
||||
ok.
|
||||
-endif.
|
||||
|
||||
load_config_files() ->
|
||||
%% the app env 'config_files' for 'emqx` app should be set
|
||||
%% in app.time.config by boot script before starting Erlang VM
|
||||
|
@ -155,9 +144,7 @@ reboot_apps() ->
|
|||
, emqx_data_bridge
|
||||
, emqx_bridge_mqtt
|
||||
, emqx_plugin_libs
|
||||
, emqx_config_helper
|
||||
, emqx_management
|
||||
, emqx_release_helper
|
||||
, emqx_retainer
|
||||
, emqx_exhook
|
||||
, emqx_rule_actions
|
||||
|
|
Loading…
Reference in New Issue