aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
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
commitfffb4ee43d2ce3c0dd392f44eac53529688938ac (patch)
tree9e5c00d6251a916dfebab13fa1f1ae57a08e4202 /prosodyctl
parent09a662026a3fc4c69eda9d8ef8862abac5569625 (diff)
downloadprosody-fffb4ee43d2ce3c0dd392f44eac53529688938ac.tar.gz
prosody-fffb4ee43d2ce3c0dd392f44eac53529688938ac.zip
prosodyctl about: Report network backend in use
Diffstat (limited to 'prosodyctl')
-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";