3 - 'Dwayne Bent <dbb.1@liqd.org>'
13 prosodyctl - Manage a Prosody XMPP server
18 prosodyctl command [--help]
23 prosodyctl is the control tool for the Prosody XMPP server. It may be
24 used to control the server daemon and manage users.
26 prosodyctl needs to be executed with sufficient privileges to perform
27 its commands. This typically means executing prosodyctl as the root
28 user. If a user named "prosody" is found then prosodyctl will change to
29 that user before executing its commands.
37 In the following commands users are identified by a Jabber ID, jid, of
38 the usual form: user@domain.
41 : Adds a user with Jabber ID, jid, to the server. You will be prompted
42 to enter the user's password.
45 : Changes the password of an existing user with Jabber ID, jid. You
46 will be prompted to enter the user's new password.
49 : Deletes an existing user with Jabber ID, jid, from the server.
54 Although prosodyctl has commands to manage the prosody daemon it is
55 recommended that you utilize your distributions daemon management
56 features if you attained Prosody through a package.
58 To perform daemon control commands prosodyctl needs a pidfile value
59 specified in `/etc/prosody/prosody.cfg.lua`. Failure to do so will cause
60 prosodyctl to complain.
63 : Starts the prosody server daemon. If run as root prosodyctl will
64 attempt to change to a user named "prosody" before executing. This
65 operation will block for up to five seconds to wait for the server
69 : Stops the prosody server daemon. This operation will block for up to
70 five seconds to wait for the server to stop executing.
73 : Restarts the prosody server daemon. Equivalent to running prosodyctl
74 stop followed by prosodyctl start.
77 : Signals the prosody server daemon to reload configuration and reopen
81 : Prints the current execution status of the prosody server daemon.
83 Ejabberd Compatibility
84 ----------------------
86 ejabberd is another XMPP server which provides a comparable control
87 tool, ejabberdctl, to control its server's operations. prosodyctl
88 implements some commands which are compatible with ejabberdctl. For
89 details of how these commands work you should see ejabberdctl(8).
91 register user server password
93 unregister user server
99 : Display help text for the specified command.
104 `/etc/prosody/prosody.cfg.lua`
105 : The main prosody configuration file. prosodyctl reads this to
106 determine the process ID file of the prosody server daemon and to
107 determine if a host has been configured.
112 More information may be found online at: <https://prosody.im/>