fix(prosody): Enables admin_shell for all prosody types.

This commit is contained in:
damencho
2026-01-23 12:29:45 -06:00
committed by Дамян Минков
parent 77b174b56b
commit dbdc2b26cb

View File

@@ -90,6 +90,12 @@ modules_enabled = {
"saslauth"; -- Authentication for clients and servers. Recommended if you want to log in. "saslauth"; -- Authentication for clients and servers. Recommended if you want to log in.
"tls"; -- Add support for secure TLS on c2s/s2s connections "tls"; -- Add support for secure TLS on c2s/s2s connections
"disco"; -- Service discovery "disco"; -- Service discovery
-- Admin interfaces
"admin_shell"; -- Enable admin shell for prosodyctl shell commands
-- "admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
--"admin_telnet"; -- Opens telnet console interface on localhost port 5582
{{- if eq $PROSODY_MODE "client" }} {{- if eq $PROSODY_MODE "client" }}
-- Not essential, but recommended -- Not essential, but recommended
"private"; -- Private XML storage (for room bookmarks, etc.) "private"; -- Private XML storage (for room bookmarks, etc.)
@@ -99,11 +105,6 @@ modules_enabled = {
--"privacy"; -- Support privacy lists --"privacy"; -- Support privacy lists
--"compression"; -- Stream compression (Debian: requires lua-zlib module to work) --"compression"; -- Stream compression (Debian: requires lua-zlib module to work)
-- Admin interfaces
"admin_shell"; -- Enable admin shell for prosodyctl shell commands
-- "admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
--"admin_telnet"; -- Opens telnet console interface on localhost port 5582
-- Nice to have -- Nice to have
"version"; -- Replies to server version requests "version"; -- Replies to server version requests
{{- end }} {{- end }}