From 5860877c9e1f34cd34e2991748c0e7cd0405521d Mon Sep 17 00:00:00 2001
From: Matthew Wild <mwild1@gmail.com>
Date: Thu, 14 Mar 2019 08:09:49 +0000
Subject: prosodyctl about: Report network backend in use

---
 prosodyctl | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'prosodyctl')

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";
-- 
cgit v1.2.3