Posts: 63
Joined: Nov 2008
Reputation:
0
I currently start XBMC from the command line as per Olympia's guide, but I used to run the live version, I would really like to know how to set my system up such that when XBMC crashes out that it automatically restarts.
I know this is possible because the live version does it, I just do not have the linux knowledge to understand or replicate the process.
Cheers
Posts: 4,997
Joined: May 2004
Reputation:
12
If that won't work for you due to not wanting to restart some other apps or something along those lines. There should be several examples here in the forums of adding a loop to the script to restart XBMC based on return code.
Posts: 63
Joined: Nov 2008
Reputation:
0
I did have a search but couldn't find much, even with the help of google, that said I could well have been looking for the wrong thing.
Anyone care to post some links for me ? In the meantime I will keep on searching, I guess it would be better if the other apps didn't also restart.
Posts: 63
Joined: Nov 2008
Reputation:
0
That's close but it doesn't let me manually quit it like xbmclive does, now when I choose quit xbmc from the shutdown menu it quits for a second then starts back up again.
I really appreciate the help I have been given so far, just want to try and mirror the usefulness of the restart on crash feature that xbmclive seems to have.
Posts: 4,997
Joined: May 2004
Reputation:
12
Which is why you need to check the return status.
Posts: 63
Joined: Nov 2008
Reputation:
0
I've found the script from XBMCLive but not entirely sure how to run it, its the runXBMC.sh script for anyone interested !?
Using olympia's guide, I'm not all that sure where abouts I would need to call runXBMC from ?
Cheers