Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
9843:17060708d0eb | 9856:4be2af104bf0 |
---|---|
384 end | 384 end |
385 elseif pcall(require, "luarocks.require") then | 385 elseif pcall(require, "luarocks.require") then |
386 luarocks_status = "Installed (1.x)"; | 386 luarocks_status = "Installed (1.x)"; |
387 end | 387 end |
388 print("LuaRocks: ", luarocks_status); | 388 print("LuaRocks: ", luarocks_status); |
389 print(""); | |
390 print("# Network"); | |
391 print(""); | |
392 print("Backend: "..require "net.server".get_backend()); | |
389 print(""); | 393 print(""); |
390 print("# Lua module versions"); | 394 print("# Lua module versions"); |
391 local module_versions, longest_name = {}, 8; | 395 local module_versions, longest_name = {}, 8; |
392 local luaevent =dependencies.softreq"luaevent"; | 396 local luaevent =dependencies.softreq"luaevent"; |
393 dependencies.softreq"ssl"; | 397 dependencies.softreq"ssl"; |