From 3eca0259f728dd28e16ca979fa58f2d0ef813490 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 6 Sep 2011 13:39:26 +0200 Subject: [PATCH] Clarification about system user of ejabberd.init --- doc/guide.tex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/guide.tex b/doc/guide.tex index 76546c84e..5e3ce7d25 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -250,8 +250,9 @@ 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). -Create a system user called \term{ejabberd}; -it will be used by the script to start the server. +Create a system user called \term{ejabberd}, +give it write access to the directories \term{database/} and \term{logs/}, and set that as home; +the script will start the server with that user. 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, -- 2.40.0