# how to restart single application from command line (linux)

**URL:** https://community.wowza.com/t/how-to-restart-single-application-from-command-line-linux/44084
**Category:** Wowza Streaming Engine
**Tags:** server-administration
**Created:** [November 6, 2014, 3:14pm UTC](https://community.wowza.com/t/how-to-restart-single-application-from-command-line-linux/44084 "2014-11-06T15:14:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![MediaLiveCasino\_Limi](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@MediaLiveCasino\_Limi](https://community.wowza.com/u/MediaLiveCasino_Limi)
#### Post date: [November 6, 2014, 3:14pm UTC](https://community.wowza.com/t/how-to-restart-single-application-from-command-line-linux/44084/1 "2014-11-06T15:14:29Z")

</div>

Hello,

we are trying to automate our wowza servers particularly the modification of the origin server in the edge configuration

then we need to restart only the edge application …

I am succesful in modify the edge configuration “Application.xml” using sed -i looking for and replacing the line

but then from linux the only thing i can do is to restart the whole wowza server via /etc/init.d/WowzaStreamingEngine restart

Looked around for a method to restart only application and tried with JMXCommandLine.java but without much success on the Wowza V4

Is there any more recent documentation about JMXCommandLine that works on v4 ?

Thanks a lot

* * *

MediaLiveCasino Ltd

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [November 6, 2014, 8:37am UTC](https://community.wowza.com/t/how-to-restart-single-application-from-command-line-linux/44084/2 "2014-11-06T08:37:21Z")

</div>

Hello there and welcome to the Wowza support forum.

Have you seen this guide? It has been updated on 10-31-14:

[How to set up a command line interface to Wowza API](https://www.wowza.com/docs/how-to-set-up-a-command-line-interface-to-wowza-api)

Kind regards,

Salvadore

---

<div class="post-metadata">

### Author: ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)
#### Post date: [November 16, 2014, 10:14pm UTC](https://community.wowza.com/t/how-to-restart-single-application-from-command-line-linux/44084/3 "2014-11-16T22:14:09Z")

</div>

Hi,

This means that the article itself (content) was updated on 10-31-14, the last comment was indeed much earlier.

Daren

---

<div class="post-metadata">

### Author: ![MediaLiveCasino\_Limi](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@MediaLiveCasino\_Limi](https://community.wowza.com/u/MediaLiveCasino_Limi)
#### Post date: [November 6, 2014, 4:01pm UTC](https://community.wowza.com/t/how-to-restart-single-application-from-command-line-linux/44084/4 "2014-11-06T16:01:21Z")

</div>

Hemm … :rolleyes:

> Note: This functionality is only supported in Wowza Media Server® 2 patch14 or greater.

there is also this:

[https://www.wowza.com/docs/how-to-set-up-a-command-line-interface-to-wowza-api-to-start-stop-vhost-using-jmx](https://www.wowza.com/docs/how-to-set-up-a-command-line-interface-to-wowza-api-to-start-stop-vhost-using-jmx)

but in the last comments:

> on 02-14-2014
> 
> For Wowza 4 there is a change: replace “WowzaMediaPro” with “WowzaStreamingEngine”.
> 
> Sorry, that guide is not updated yet, but will be soon.
> 
> Richard

no more updates since then …
