]> granicus.if.org Git - ejabberd/commitdiff
Add os_mon to included_application, but start it in ej_system_monitor
authorPaweł Chmielowski <pchmielowski@process-one.net>
Wed, 16 Jan 2019 14:40:10 +0000 (15:40 +0100)
committerPaweł Chmielowski <pchmielowski@process-one.net>
Wed, 16 Jan 2019 14:40:10 +0000 (15:40 +0100)
mix.exs
src/ejabberd.app.src.in
src/ejabberd_app.erl

diff --git a/mix.exs b/mix.exs
index d7ef1707b480c43635c7cb60decbc365a39ae418..fec5c260377073f411632eaa7845922c4e5fc688 100644 (file)
--- a/mix.exs
+++ b/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
 
index c3dc373067bef3b84de4c0fa0c568eaf1cc02761..f1d08b8c74e29c96e11807406c3bef2d90092ce8 100644 (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, []}}]}.
 
index 1641e0ad971ce154e7859ebc1c523f5ae645c898..41e284de415757f68be26edd582a334075e417e0 100644 (file)
@@ -80,6 +80,8 @@ start_included_apps() ->
               ok;
           (lager)->
               ok;
+          (os_mon)->
+              ok;
           (App) ->
               application:ensure_all_started(App)
        end, Apps).