TO run openfire in startup in UBUNTU 6.06 LTS

Hi,

I am using ubuntu 6.06LTS server.

Previously I find solution in openfire package . I followed instruction given in this directory and worked well (/opt/openfire/bin/extra) .

few days before i checked but it did not run in startup. Again i followed same instructions given in (/opt/openfire/bin/extra) but it failed to run in startup.

Now i want to run in startup in ununtu.

Any ideas?