From 95462d3f25a182ab11a807ff20a7a542821442ec Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 5 Jun 2008 12:04:43 +0000 Subject: * doc/guide.tex: Document ejabberdctl status code (EJAB-633) * doc/guide.html: Likewise SVN Revision: 1346 --- doc/guide.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'doc/guide.html') diff --git a/doc/guide.html b/doc/guide.html index d38860653..f2adbf863 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -2869,7 +2869,7 @@ the processing discipline for Software Version (jabber:iq:version) IQ q

4.1  ejabberdctl

4.1.1  Commands

-

The ejabberdctl command line script allows to start, stop and perform +

The ejabberdctl command line administration script allows to start, stop and perform many other administrative tasks in a local or remote ejabberd server.

When ejabberdctl is executed without any parameter, it displays the available options. If there isn’t an ejabberd server running, the available parameters are: @@ -2894,8 +2894,14 @@ exist tutorials to migrate in offline storage. This might be useful when the number of offline messages is very high.

The ejabberdctl script also allows the argument --node NODENAME. -This allows to administer a remote node.

The ejabberdctl administration script can be configured in the file ejabberdctl.cfg. -This file provides detailed information about each configurable option.

+This allows to administer a remote node.

The ejabberdctl script can be configured in the file ejabberdctl.cfg. +This file includes detailed information about each configurable option.

The ejabberdctl script returns a numerical status code. +Success is represented by 0, +error is represented by 1, +and other codes may be used for specifical results. +This can be used by other scripts to determine automatically +if a command succedded or failed, +for example using: echo $?

4.1.2  Erlang runtime system

ejabberd is an Erlang/OTP application that runs inside an Erlang runtime system. This system is configured using environment variables and command line parameters. -- cgit v1.2.3