mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Include only observer; runtime_tools is automatically added
This commit is contained in:
parent
8c64ce67fc
commit
4431fbbe5a
3
mix.exs
3
mix.exs
@ -150,8 +150,7 @@ defmodule Ejabberd.MixProject do
|
||||
|
||||
defp cond_apps do
|
||||
for {:true, app} <- [{config(:stun), :stun},
|
||||
{config(:tools), :observer},
|
||||
{config(:tools), :runtime_tools}], do:
|
||||
{config(:tools), :observer}], do:
|
||||
app
|
||||
end
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
_ -> []
|
||||
end,
|
||||
Tools = case lists:keyfind(tools, 1, Terms) of
|
||||
{tools, true} -> [observer, runtime_tools]; % for `ejabberdctl etop`
|
||||
{tools, true} -> [observer]; % for `ejabberdctl etop`
|
||||
_ -> []
|
||||
end,
|
||||
{[lists:keyfind(description, 1, Terms),
|
||||
|
Loading…
Reference in New Issue
Block a user