25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-24 17:29:28 +01:00

Document more ejabberd commands in the Guide (EJAB-1041)

SVN Revision: 2609
This commit is contained in:
Badlop 2009-09-21 10:14:06 +00:00
parent 6bdf4aa960
commit 169a0471b9
2 changed files with 8 additions and 6 deletions

View File

@ -3354,10 +3354,8 @@ Available commands in this ejabberd node:
backup file Store the database to backup file
connected_users List all established sessions
connected_users_number Get the number of established sessions
delete_expired_messages Delete expired offline messages from database
delete_old_messages days Delete offline messages older than DAYS
...
</PRE><P>The more interesting ones are:
</PRE><P>The most interesting ones are:
</P><DL CLASS="description"><DT CLASS="dt-description">
<B><TT>reopen_log</TT></B></DT><DD CLASS="dd-description"> Reopen the log files after they were renamed.
If the old files were not renamed before calling this command,
@ -3393,6 +3391,9 @@ There exist tutorials to
</DD><DT CLASS="dt-description"><B><TT>delete_expired_messages</TT></B></DT><DD CLASS="dd-description"> This option can be used to delete old messages
in offline storage. This might be useful when the number of offline messages
is very high.
</DD><DT CLASS="dt-description"><B><TT>delete_old_messages days</TT></B></DT><DD CLASS="dd-description"> Delete offline messages older than the given days.
</DD><DT CLASS="dt-description"><B><TT>register user host password</TT></B></DT><DD CLASS="dd-description"> Register an account in that domain with the given password.
</DD><DT CLASS="dt-description"><B><TT>unregister user host</TT></B></DT><DD CLASS="dd-description"> Unregister the given account.
</DD></DL><P> <A NAME="accesscommands"></A> </P><!--TOC subsection Restrict Execution with AccessCommands-->
<H3 CLASS="subsection"><!--SEC ANCHOR --><A NAME="htoc70">4.2.2</A>&#XA0;&#XA0;<A HREF="#accesscommands">Restrict Execution with AccessCommands</A></H3><!--SEC END --><P> <A NAME="accesscommands"></A> </P><P>The frontends can be configured to restrict access to certain commands.
In that case, authentication information must be provided.

View File

@ -4297,12 +4297,10 @@ Available commands in this ejabberd node:
backup file Store the database to backup file
connected_users List all established sessions
connected_users_number Get the number of established sessions
delete_expired_messages Delete expired offline messages from database
delete_old_messages days Delete offline messages older than DAYS
...
\end{verbatim}
The more interesting ones are:
The most interesting ones are:
\begin{description}
\titem{reopen\_log} Reopen the log files after they were renamed.
If the old files were not renamed before calling this command,
@ -4340,6 +4338,9 @@ The more interesting ones are:
\titem{delete\_expired\_messages} This option can be used to delete old messages
in offline storage. This might be useful when the number of offline messages
is very high.
\titem{delete\_old\_messages days} Delete offline messages older than the given days.
\titem{register user host password} Register an account in that domain with the given password.
\titem{unregister user host} Unregister the given account.
\end{description}
\makesubsection{accesscommands}{Restrict Execution with AccessCommands}