From 41c455fabb0284b316b288ae7b7dca199cdd914d Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 25 Feb 2010 00:04:48 +0100 Subject: [PATCH] Add quotes in documentation of some erl arguments (thanks to Vincent Courcelle)(EJAB-1191) --- doc/guide.html | 6 +++--- doc/guide.tex | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/guide.html b/doc/guide.html index dfe7e2545..36857784f 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -3476,7 +3476,7 @@ all the environment variables and command line parameters.

The environment

-name ejabberd
The Erlang node will be fully identified. This is only useful if you plan to setup an ejabberd cluster with nodes in different networks. -
-kernel inetrc "/etc/ejabberd/inetrc"
+
-kernel inetrc ’"/etc/ejabberd/inetrc"’
Indicates which IP name resolution to use. If using -sname, specify either this option or ERL_INETRC.
-kernel inet_dist_listen_min 4200 inet_dist_listen_min 4210
@@ -3491,7 +3491,7 @@ Starts the Erlang system detached from the system console. Specify the directory where Erlang binary files (*.beam) are located.
-s ejabberd
Tell Erlang runtime system to start the ejabberd application. -
-mnesia dir "/var/lib/ejabberd/"
+
-mnesia dir ’"/var/lib/ejabberd/"’
Specify the Mnesia database directory.
-sasl sasl_error_logger {file, "/var/log/ejabberd/erlang.log"}
Path to the Erlang/OTP system log file. @@ -3867,7 +3867,7 @@ Copy ~ejabberd/.erlang.cookie file from first to second.

(alt) You can also add ‘-setcookie content_of_.erlang.cookie’ option to all ‘erl’ commands below.

  • On second run the following command as the ejabberd daemon user, in the working directory of ejabberd:
    erl -sname ejabberd \
    -    -mnesia dir "/var/lib/ejabberd/" \
    +    -mnesia dir '"/var/lib/ejabberd/"' \
         -mnesia extra_db_nodes "['ejabberd@first']" \
         -s mnesia
     

    This will start Mnesia serving the same database as ejabberd@first. diff --git a/doc/guide.tex b/doc/guide.tex index c3657c9ae..a6c289ed0 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -4421,7 +4421,7 @@ The command line parameters: \titem{-name ejabberd} The Erlang node will be fully identified. This is only useful if you plan to setup an \ejabberd{} cluster with nodes in different networks. - \titem{-kernel inetrc "/etc/ejabberd/inetrc"} + \titem{-kernel inetrc '"/etc/ejabberd/inetrc"'} Indicates which IP name resolution to use. If using \term{-sname}, specify either this option or \term{ERL\_INETRC}. \titem{-kernel inet\_dist\_listen\_min 4200 inet\_dist\_listen\_min 4210} @@ -4436,7 +4436,7 @@ The command line parameters: Specify the directory where Erlang binary files (*.beam) are located. \titem{-s ejabberd} Tell Erlang runtime system to start the \ejabberd{} application. - \titem{-mnesia dir "/var/lib/ejabberd/"} + \titem{-mnesia dir '"/var/lib/ejabberd/"'} Specify the Mnesia database directory. \titem{-sasl sasl\_error\_logger \{file, "/var/log/ejabberd/erlang.log"\}} Path to the Erlang/OTP system log file. @@ -4971,7 +4971,7 @@ following steps: \begin{verbatim} erl -sname ejabberd \ - -mnesia dir "/var/lib/ejabberd/" \ + -mnesia dir '"/var/lib/ejabberd/"' \ -mnesia extra_db_nodes "['ejabberd@first']" \ -s mnesia \end{verbatim} -- 2.40.0