# Ubuntu upstart script (service)

**URL:** <https://community.wowza.com/t/ubuntu-upstart-script-service/38154>\
**Category:** Wowza Streaming Engine\
**Created:** [March 13, 2012, 3:11pm UTC](https://community.wowza.com/t/ubuntu-upstart-script-service/38154 "2012-03-13T15:11:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jan\_Vencalek](https://avatars.discourse-cdn.com/v4/letter/j/57b2e6/32.png) [@Jan\_Vencalek](https://community.wowza.com/u/Jan_Vencalek)\
**Post date:** [March 13, 2012, 3:11pm UTC](https://community.wowza.com/t/ubuntu-upstart-script-service/38154/1 "2012-03-13T15:11:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [March 13, 2012, 5:19am UTC](https://community.wowza.com/t/ubuntu-upstart-script-service/38154/2 "2012-03-13T05:19:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [March 27, 2012, 12:18am UTC](https://community.wowza.com/t/ubuntu-upstart-script-service/38154/3 "2012-03-27T00:18:27Z")

</div>

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

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

```

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

---

<div class="post-metadata">

**Author:** ![Jan\_Vencalek](https://avatars.discourse-cdn.com/v4/letter/j/57b2e6/32.png) [@Jan\_Vencalek](https://community.wowza.com/u/Jan_Vencalek)\
**Post date:** [March 27, 2012, 9:02am UTC](https://community.wowza.com/t/ubuntu-upstart-script-service/38154/4 "2012-03-27T09:02:48Z")

</div>

> 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/](http://upstart.ubuntu.com/)).

Thanks.

---

<div class="post-metadata">

**Author:** ![Sander\_van\_Schie](https://avatars.discourse-cdn.com/v4/letter/s/8dc957/32.png) [@Sander\_van\_Schie](https://community.wowza.com/u/Sander_van_Schie)\
**Post date:** [March 27, 2012, 1:03pm UTC](https://community.wowza.com/t/ubuntu-upstart-script-service/38154/5 "2012-03-27T13:03:09Z")

</div>

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

```auto
update-rc.d WowzaMediaServer defaults

```
