Need help - with a script to stop Openfire server on Linux


I have made modifications to Openfire, compiled and installed on Linux CentOS 6. I see the script to start it using “” and am able to as well but I do not see a way to stop the server. As per some documentation, “openfirectl” may be used but it neithers starts the server nor stops it. Please help with the right approach.

Thanks for your help.


Create a symbolic link for your openfire using below command.

sudo ln -s openfire/bin/openfire /etc/init.d/

Once the above command is successfully executed, then

to start server

sudo service openfire start

to stop server

sudo service openfire stop

to check status

sudo service openfire status