Diff

prosodyctl @ 9856:4be2af104bf0 0.11

prosodyctl about: Report network backend in use
author Matthew Wild <mwild1@gmail.com>
date Thu, 14 Mar 2019 08:09:49 +0000
parent 9709:f31ed70c993a
child 9857:3af3a702c54c
child 9991:8cd180dc18a8
line wrap: on
line diff
--- a/prosodyctl	Mon Mar 04 12:58:20 2019 +0100
+++ b/prosodyctl	Thu Mar 14 08:09:49 2019 +0000
@@ -387,6 +387,10 @@
 	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";