Ubuntu upstart script (service)

Hi,

Has anybody upstart script (/etc/init/wowza.conf or something like that) for running Wowza as service after server boot [Ubuntu 10.04 LTS server]? I need run Wowza as service and automatically after reboot. There is only Fedora/RedHat solution in the Quick start guide.

Thank you in advance.

Jan

See the User Guide section “Starting and Stopping the Server”. In Debian/Ubuntu, it’s “service WowzaMediaServer start”.

Since the Wowza script already handles start/stop service functionality, you can use traditional Debian style:

echo "service WowzaMediaServer start" >> /etc/[runlevel]/S20wowza

Be sure to edit the above command for your desired runlevel.

See the User Guide section “Starting and Stopping the Server”. In Debian/Ubuntu, it’s “service WowzaMediaServer start”.

OK. This is for “normal” service start. If I reboot a server (HW) Wowza is not running. I need a script for automatically start Wowza server as service. Something for Ubuntu upstart (http://upstart.ubuntu.com/).

Thanks.

To start Wowza at boot time the proper way under Ubuntu, issue the following command:

update-rc.d WowzaMediaServer defaults