mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Add os_mon to included_application, but start it in ej_system_monitor
This commit is contained in:
parent
a30bfefb98
commit
a8b1a58cc8
2
mix.exs
2
mix.exs
@ -29,7 +29,7 @@ defmodule Ejabberd.Mixfile do
|
|||||||
included_applications: [:lager, :mnesia, :inets, :p1_utils, :cache_tab,
|
included_applications: [:lager, :mnesia, :inets, :p1_utils, :cache_tab,
|
||||||
:fast_tls, :stringprep, :fast_xml, :xmpp,
|
:fast_tls, :stringprep, :fast_xml, :xmpp,
|
||||||
:stun, :fast_yaml, :esip, :jiffy, :p1_oauth2,
|
:stun, :fast_yaml, :esip, :jiffy, :p1_oauth2,
|
||||||
:eimp, :base64url, :jose, :pkix]
|
:eimp, :base64url, :jose, :pkix, :os_mon]
|
||||||
++ cond_apps()]
|
++ cond_apps()]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
{modules, []},
|
{modules, []},
|
||||||
{registered, []},
|
{registered, []},
|
||||||
{applications, [kernel, stdlib, sasl, ssl]},
|
{applications, [kernel, stdlib, sasl, ssl]},
|
||||||
{included_applications, [lager, mnesia, inets, p1_utils, fast_yaml, fast_tls, pkix, xmpp, cache_tab, eimp]},
|
{included_applications, [os_mon, lager, mnesia, inets, p1_utils, fast_yaml, fast_tls, pkix, xmpp, cache_tab, eimp]},
|
||||||
{env, [{enabled_backends, [@enabled_backends@]}]},
|
{env, [{enabled_backends, [@enabled_backends@]}]},
|
||||||
{mod, {ejabberd_app, []}}]}.
|
{mod, {ejabberd_app, []}}]}.
|
||||||
|
|
||||||
|
@ -80,6 +80,8 @@ start_included_apps() ->
|
|||||||
ok;
|
ok;
|
||||||
(lager)->
|
(lager)->
|
||||||
ok;
|
ok;
|
||||||
|
(os_mon)->
|
||||||
|
ok;
|
||||||
(App) ->
|
(App) ->
|
||||||
application:ensure_all_started(App)
|
application:ensure_all_started(App)
|
||||||
end, Apps).
|
end, Apps).
|
||||||
|
Loading…
Reference in New Issue
Block a user