make use of application dependency to ensure start order. also the same dependency top-sorted for shutdown and reboot order
24 lines
377 B
Erlang
24 lines
377 B
Erlang
{application, emqx_connector,
|
|
[{description, "An OTP application"},
|
|
{vsn, "0.1.1"},
|
|
{registered, []},
|
|
{mod, {emqx_connector_app, []}},
|
|
{applications,
|
|
[kernel,
|
|
stdlib,
|
|
ecpool,
|
|
emqx_resource,
|
|
eredis_cluster,
|
|
eredis,
|
|
epgsql,
|
|
mysql,
|
|
mongodb,
|
|
emqx
|
|
]},
|
|
{env,[]},
|
|
{modules, []},
|
|
|
|
{licenses, ["Apache 2.0"]},
|
|
{links, []}
|
|
]}.
|