mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +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
|
defp cond_apps do
|
||||||
for {:true, app} <- [{config(:stun), :stun},
|
for {:true, app} <- [{config(:stun), :stun},
|
||||||
{config(:tools), :observer},
|
{config(:tools), :observer}], do:
|
||||||
{config(:tools), :runtime_tools}], do:
|
|
||||||
app
|
app
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
_ -> []
|
_ -> []
|
||||||
end,
|
end,
|
||||||
Tools = case lists:keyfind(tools, 1, Terms) of
|
Tools = case lists:keyfind(tools, 1, Terms) of
|
||||||
{tools, true} -> [observer, runtime_tools]; % for `ejabberdctl etop`
|
{tools, true} -> [observer]; % for `ejabberdctl etop`
|
||||||
_ -> []
|
_ -> []
|
||||||
end,
|
end,
|
||||||
{[lists:keyfind(description, 1, Terms),
|
{[lists:keyfind(description, 1, Terms),
|
||||||
|
Loading…
Reference in New Issue
Block a user