mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +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,
|
||||
: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
|
||||
|
||||
|
@ -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, []}}]}.
|
||||
|
||||
|
@ -80,6 +80,8 @@ start_included_apps() ->
|
||||
ok;
|
||||
(lager)->
|
||||
ok;
|
||||
(os_mon)->
|
||||
ok;
|
||||
(App) ->
|
||||
application:ensure_all_started(App)
|
||||
end, Apps).
|
||||
|
Loading…
Reference in New Issue
Block a user