diff --git a/doc/guide.html b/doc/guide.html index d4fdc890a..6b4be6e3a 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -298,7 +298,10 @@ go to the Windows service settings and set ejabberd to be automatically started. Note that the Windows service is a feature still in development, and for example it doesn’t read the file ejabberdctl.cfg.
On a *nix system, if you want ejabberd to be started as daemon at boot time, copy ejabberd.init from the ’bin’ directory to something like /etc/init.d/ejabberd -(depending on your distribution) and call /etc/inid.d/ejabberd start to start it.
If ejabberd doesn’t start correctly in Windows, +(depending on your distribution). +Create a system user called ejabberd; +it will be used by the script to start the server. +Then you can call /etc/inid.d/ejabberd start as root to start the server.
If ejabberd doesn’t start correctly in Windows, try to start it using the shortcut in desktop or start menu. If the window shows error 14001, the solution is to install: "Microsoft Visual C++ 2005 SP1 Redistributable Package". @@ -434,7 +437,12 @@ You can try starting ejabberd with the command ejabberdctl live to see the error message provided by Erlang and can identify what is exactly the problem.
Please refer to the section 4.1 for details about ejabberdctl, -and configurable options to fine tune the Erlang runtime system.
+and configurable options to fine tune the Erlang runtime system.If you want ejabberd to be started as daemon at boot time, +copy ejabberd.init to something like /etc/init.d/ejabberd +(depending on your distribution). +Create a system user called ejabberd; +it will be used by the script to start the server. +Then you can call /etc/inid.d/ejabberd start as root to start the server.
The command to compile ejabberd in BSD systems is:
gmake diff --git a/doc/guide.tex b/doc/guide.tex index 0cf446f1a..43110aad9 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -240,7 +240,10 @@ and for example it doesn't read the file ejabberdctl.cfg. On a *nix system, if you want ejabberd to be started as daemon at boot time, copy \term{ejabberd.init} from the 'bin' directory to something like \term{/etc/init.d/ejabberd} -(depending on your distribution) and call \term{/etc/inid.d/ejabberd start} to start it. +(depending on your distribution). +Create a system user called \term{ejabberd}; +it will be used by the script to start the server. +Then you can call \term{/etc/inid.d/ejabberd start} as root to start the server. If \term{ejabberd} doesn't start correctly in Windows, try to start it using the shortcut in desktop or start menu. @@ -445,6 +448,13 @@ and can identify what is exactly the problem. Please refer to the section~\ref{ejabberdctl} for details about \term{ejabberdctl}, and configurable options to fine tune the Erlang runtime system. +If you want ejabberd to be started as daemon at boot time, +copy \term{ejabberd.init} to something like \term{/etc/init.d/ejabberd} +(depending on your distribution). +Create a system user called \term{ejabberd}; +it will be used by the script to start the server. +Then you can call \term{/etc/inid.d/ejabberd start} as root to start the server. + \makesubsection{bsd}{Specific Notes for BSD} \ind{install!bsd}