# How to restart application from command line

**URL:** https://community.wowza.com/t/how-to-restart-application-from-command-line/49151
**Category:** Wowza Streaming Engine
**Created:** [July 9, 2017, 6:53pm UTC](https://community.wowza.com/t/how-to-restart-application-from-command-line/49151 "2017-07-09T18:53:38Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Peter\_Bednar1](https://avatars.discourse-cdn.com/v4/letter/p/f9ae1b/32.png) [@Peter\_Bednar1](https://community.wowza.com/u/Peter_Bednar1)
#### Post date: [July 9, 2017, 6:53pm UTC](https://community.wowza.com/t/how-to-restart-application-from-command-line/49151/1 "2017-07-09T18:53:38Z")

</div>

Hi

I would like to ask how to restart wowza single application from command line (redhat linux)

thanks

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)
#### Post date: [July 10, 2017, 1:38am UTC](https://community.wowza.com/t/how-to-restart-application-from-command-line/49151/2 "2017-07-10T01:38:34Z")

</div>

We have a [forum post](http://community.wowza.com/community/questions/693/rest-apirestart-applications.html) that covers this. Below is an example of what you will need if you are using digest authentication:

```auto
curl --digest -u "username:password" -X PUT -H 'Accept:application/json; charset=utf-8' -H "Content-type:application/json; charset=utf-8" http://127.0.0.1:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/actions/restart

```

It should return the following:

```auto
{"success":true,"message":"Application (live) shutdown","data":null}

```

I hope that helps to answer your question.

---

<div class="post-metadata">

### Author: ![Arvinder\_Singh1](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@Arvinder\_Singh1](https://community.wowza.com/u/Arvinder_Singh1)
#### Post date: [September 11, 2018, 3:58pm UTC](https://community.wowza.com/t/how-to-restart-application-from-command-line/49151/3 "2018-09-11T15:58:20Z")

</div>

Can you do that for a single stream or a smil profile?

---

<div class="post-metadata">

### Author: ![katherine\_tk](https://avatars.discourse-cdn.com/v4/letter/k/b5ac83/32.png) [@katherine\_tk](https://community.wowza.com/u/katherine_tk)
#### Post date: [September 11, 2018, 9:06am UTC](https://community.wowza.com/t/how-to-restart-application-from-command-line/49151/4 "2018-09-11T09:06:36Z")

</div>

**Start** \*\*:\*\*

To start the service, open a terminal window and enter one of the following commands, depending on your Linux distribution:

sudo service WowzaStreamingEngine start

OR

/etc/init.d/WowzaStreamingEngine start Stop the service

**Stop:**

To stop the service, enter:

sudo service WowzaStreamingEngine stop

OR

/etc/init.d/WowzaStreamingEngine stop

Thanks

[Katherine](https://tekslate.com)

---

<div class="post-metadata">

### Author: ![Arvinder\_Singh1](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@Arvinder\_Singh1](https://community.wowza.com/u/Arvinder_Singh1)
#### Post date: [September 11, 2018, 3:58pm UTC](https://community.wowza.com/t/how-to-restart-application-from-command-line/49151/5 "2018-09-11T15:58:16Z")

</div>

Application can be started or restarted this way. Is there a command line way to only RESET one of the live STREAMS within a live application, not the entire application. in GUI I can do that using circular icon under Incoming Streams option and play ICON under Stream Files and SMIL files. Is there a command line equivalent to that?
