× Warning! This forum is in archival status. New contributions may not work.
Execute Bash Script within Airtime
  • Hi,

    I have a Bash script what I use which Restarts all the services in Airtime if we are experiencing Problems.  I would like this to be executed from within Airtime.

    Is there a way to add a button or menu item to do this ?

    Its just I don't want my team to be going into Root SSH whilst I'm away on Holiday.



  • 1 Comment sorted by
  • Vote Up0Vote Down Voisses TechVoisses Tech
    Posts: 1,423Member
    Why would you want such a script?

    Airtime is fairly stable and majority of case I have have come across ,you will only need to restart the stream .

    This can easily be done by changing something in the stream tab and press save.

    If you are hell bent on doing so then

    • create your script in /usr/local/bin so you can run it from any where
    • If you are familiar  with Zend framework or just look up for how to write an action controller and copy the save code for the stream save and you are good to go

    i point this out on how to build your own test container  and use the command line zf-tool here


    I wish you luck

    Post edited by Voisses Tech at 2016-05-03 14:22:28
    Anyone reading this a find it funny about my grammar , I make no apology ,Go get a translator.
    "The Problem with education today is that it takes a university degree to switch on a light bulb"
    "You learn from your mistakes but wise people learn from others mistakes avoid Making mistakes there is not sufficient rooms to make them"
    "Innuendo","If's","Assumptions" and "Fear" are for politician.Who,What,where,When and How are for those seeking knowledge and care about Humanity.
    "I might be in Mud but that does not Make me a Wild Hog(pig)"
    “Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage to move in the opposite direction.”
    "The only thing that remains constant is change itself"
    May the force be with you,until our path or destiny bring us in tandem.