[LIVE] Automatically restart XBMC if killed? (re: xbmc-live service)
#1
I'm using lirc and irexec to forcefully kill (sigterm/sigkill) XBMC incase it locks up but I think that the xbmc-live service should watch for this and automatically restart XBMC.

I've added "respawn" to xbmc-live.conf and this seems to work but I'm not sure if this is the best way to handle the situation because I don't know the entire process of what happens when a process is killed belonging to upstart, etc.

Anyways, I think that when the runXBMC script runs "startx", it should perhaps trap sigterm/sigkill and then just loop again which would restart X but I don't know.

Does anybody have any thoughts or suggestions on this?

Also, if xbmc-live doesn't restart XBMC automatically when killed then what is the purpose of it? Does it only restart if xbmc crashes (coredump, etc)?

EDIT: Would it also be possible to remove the xbmc dependencies from the xbmc-live package? I'm using an XBMCBuntu setup with SVN so I don't have the xbmc ppa installed therefore I had to manually install the xbmc-live service...
Reply

Logout Mark Read Team Forum Stats Members Help
[LIVE] Automatically restart XBMC if killed? (re: xbmc-live service)0