I successfully installed ejabberd 2.1.5 in CentOS 5.4 from the sources. I copied the init script to /etc/init.d and I am able to use it to start the service as follows:
I created an ejabberd user as follows:
groupadd -r jabber
useradd -r gjabberd ejabberd
However whenever I reboot the server the service is not started. Is there any step I am missing?. I can't find it in the installation docs.