25
1
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:
Badlop 2024-02-20 17:28:49 +01:00
parent 8c64ce67fc
commit 4431fbbe5a
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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),