Create a new directory at /Library/StartupItems/openfire
See http://homepage.mac.com/jlg/PantherOpenfire.html for the contents of the two necessary files, openfire and StartupParameters.plist, that belong in the /Library/StartupItems/openfire directory.
Be sure to make the openfire script executable by root.
You’'ll also need to add the following line to /etc/hostconfig :
OPENFIRESERVER=-YES-