Wowza Community

How to restart application from command line

Hi

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

thanks

We have a forum post that covers this. Below is an example of what you will need if you are using digest authentication:

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:

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

I hope that helps to answer your question.

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

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

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?