How to start ejabberd as a service...

Dear All,

I just installed eJabberd-1.0.0, everything is working fine, but I need to put ejabberd as a service and want to start when the system boots up. I am using RedHat Linux 9.
I added the following line in /etc/rc.local
/opt/ejabberd/bin/start

I could see that ejabberd starts with Default node message in the screen while the machine boots up, but for some reason it gets exited.

Have anyone put ejabberd as service in Redhat, if so please do assist me in configuring it.

Syndicate content