aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2019-03-14 08:09:49 +0000
committerMatthew Wild <mwild1@gmail.com>2019-03-14 08:09:49 +0000
commitfeb226825d1fc7d8f26d68011716f72bf8ff438a (patch)
tree9e5c00d6251a916dfebab13fa1f1ae57a08e4202
parent2b590c273fa64e16fc828112c320d15a5883b35f (diff)
downloadprosody-feb226825d1fc7d8f26d68011716f72bf8ff438a.tar.gz
prosody-feb226825d1fc7d8f26d68011716f72bf8ff438a.zip
prosodyctl about: Report network backend in use
-rwxr-xr-xprosodyctl4
1 files changed, 4 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index 76de45a2..b1c6fffd 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -387,6 +387,10 @@ function commands.about(arg)
end
print("LuaRocks: ", luarocks_status);
print("");
+ print("# Network");
+ print("");
+ print("Backend: "..require "net.server".get_backend());
+ print("");
print("# Lua module versions");
local module_versions, longest_name = {}, 8;
local luaevent =dependencies.softreq"luaevent";