How to autostart Openfire?

I’m running OpenFire 3.4.5 on Ubuntu Server 7.04. It’s working great. I was wondering how to autostart OpenFire if and when the server is restarted? I’m new to Linux so I appreciate the help. Thanks.

Do you have a script to start openfire? Try ‘/etc/init.d/openfire status’.

If it works you do have… So create a symbolic link at /etc/rc.d/rc3.d folder with name S99openfire that link to /etc/rc.d/init.d/openfire . Do the same at /etc/rc.d/rc5.d

If you do not have a script, create one and save it at /etc/rc.d/init.d , allow it to be executable (chmod 744). Then create the links.

Hope it helps!