Skip to content

Commit dbb20f7

Browse files
committed
fix(prosody): Enables admin_shell for all prosody types.
1 parent 77b174b commit dbb20f7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

prosody/rootfs/defaults/prosody.cfg.lua

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ modules_enabled = {
9090
"saslauth"; -- Authentication for clients and servers. Recommended if you want to log in.
9191
"tls"; -- Add support for secure TLS on c2s/s2s connections
9292
"disco"; -- Service discovery
93+
94+
-- Admin interfaces
95+
"admin_shell"; -- Enable admin shell for prosodyctl shell commands
96+
-- "admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
97+
--"admin_telnet"; -- Opens telnet console interface on localhost port 5582
98+
9399
{{- if eq $PROSODY_MODE "client" }}
94100
-- Not essential, but recommended
95101
"private"; -- Private XML storage (for room bookmarks, etc.)
@@ -99,11 +105,6 @@ modules_enabled = {
99105
--"privacy"; -- Support privacy lists
100106
--"compression"; -- Stream compression (Debian: requires lua-zlib module to work)
101107

102-
-- Admin interfaces
103-
"admin_shell"; -- Enable admin shell for prosodyctl shell commands
104-
-- "admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
105-
--"admin_telnet"; -- Opens telnet console interface on localhost port 5582
106-
107108
-- Nice to have
108109
"version"; -- Replies to server version requests
109110
{{- end }}

0 commit comments

Comments
 (0)