Setup Openfire Spectrum2 Service to Auto Start on Ubuntu 12.04

Hi there,

I’m running openfire 3.8.2 with Spectrum2 Gojara plugin on an Ubuntu 12.04.2 LTS linux server.

I would like to create a scheduled task to reboot the server every evening and then start the Spectrum service automatically on startup. I currently have to manually start spectrum 2 service when I reboot the server. Heres the command I use to start it manually.

sudo spectrum2_manager start

Can anybody advise me on how to set it on Ubuntu 12.04 to start automatically?

Thanks!

Can anybody help with this, I just need to know how to start sudo spectrum2_manager start automatically on startup?

Thanks