Not sure, but I think if we modification the script inside /etc/init.d/openfire file it may work.
I have tried to replace the openfire file with openfire 4.1 version under /etc/init.d, now the pid error is not there and starting the service but after 3-4 sec its Shutting down openfire
Starting SYSV: Openfire is an XMPP server, which is a server that facilitates XML based communication, such as chat....
su[1614]: (to root) root on none
openfire[1601]: Starting openfire:
systemd[1]: Started SYSV: Openfire is an XMPP server, which is a server that facilitates XML based communication, such as chat....
..........................
openfire[1649]: Shutting down openfire: [FAILED]