summaryrefslogtreecommitdiff
path: root/doc/guide.tex
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2008-06-05 12:04:43 +0000
committerBadlop <badlop@process-one.net>2008-06-05 12:04:43 +0000
commit95462d3f25a182ab11a807ff20a7a542821442ec (patch)
tree85e7a71758cbf7d88f68724c96acadc45e5af6aa /doc/guide.tex
parent* src/msgs/pl.msg: Bugfix in arguments of translated string that (diff)
* doc/guide.tex: Document ejabberdctl status code (EJAB-633)
* doc/guide.html: Likewise SVN Revision: 1346
Diffstat (limited to '')
-rw-r--r--doc/guide.tex14
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/guide.tex b/doc/guide.tex
index b3614ceb..2dd6d022 100644
--- a/doc/guide.tex
+++ b/doc/guide.tex
@@ -3603,7 +3603,7 @@ Options:
\subsection{Commands}
\label{commands}
-The \term{ejabberdctl} command line script allows to start, stop and perform
+The \term{ejabberdctl} command line administration script allows to start, stop and perform
many other administrative tasks in a local or remote \ejabberd{} server.
When \term{ejabberdctl} is executed without any parameter,
@@ -3638,8 +3638,16 @@ The more interesting ones are:
The \term{ejabberdctl} script also allows the argument \term{--node NODENAME}.
This allows to administer a remote node.
-The \term{ejabberdctl} administration script can be configured in the file ejabberdctl.cfg.
-This file provides detailed information about each configurable option.
+The \term{ejabberdctl} script can be configured in the file \term{ejabberdctl.cfg}.
+This file includes detailed information about each configurable option.
+
+The \term{ejabberdctl} script returns a numerical status code.
+Success is represented by \term{0},
+error is represented by \term{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: \term{echo \$?}
\subsection{Erlang runtime system}