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
commit5860877c9e1f34cd34e2991748c0e7cd0405521d (patch)
tree9e5c00d6251a916dfebab13fa1f1ae57a08e4202
parent01f4b12e155b549fedc814f2c63b58d5ea72e201 (diff)
downloadprosody-5860877c9e1f34cd34e2991748c0e7cd0405521d.tar.gz
prosody-5860877c9e1f34cd34e2991748c0e7cd0405521d.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";