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