Add os_mon to included_application, but start it in ej_system_monitor

This commit is contained in:
Paweł Chmielowski 2019-01-16 15:40:10 +01:00
parent a30bfefb98
commit a8b1a58cc8
3 changed files with 4 additions and 2 deletions

View File

@ -29,7 +29,7 @@ defmodule Ejabberd.Mixfile do
included_applications: [:lager, :mnesia, :inets, :p1_utils, :cache_tab,
:fast_tls, :stringprep, :fast_xml, :xmpp,
:stun, :fast_yaml, :esip, :jiffy, :p1_oauth2,
:eimp, :base64url, :jose, :pkix]
:eimp, :base64url, :jose, :pkix, :os_mon]
++ cond_apps()]
end

View File

@ -6,7 +6,7 @@
{modules, []},
{registered, []},
{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@]}]},
{mod, {ejabberd_app, []}}]}.

View File

@ -80,6 +80,8 @@ start_included_apps() ->
ok;
(lager)->
ok;
(os_mon)->
ok;
(App) ->
application:ensure_all_started(App)
end, Apps).