Professional Documents
Culture Documents
Xbmcstartup
Xbmcstartup
# by default runs as xbmc, to change edit below. env USER=xbmc description "XBMC-barebones-upstart-script" author "Matt Filetto" start on (filesystem and stopped udevtrigger) stop on runlevel [016] # tell upstart to respawn the process if abnormal exit respawn script exec su -c "xinit /usr/bin/xbmc --standalone -- -nocursor :0" $USER end script Note: -- -nocursor option kills all X cursor on XBMC startup and does not interf ere with mouse use/operation And your done nothing else is required, XBMC will restart/respawn if killed or c rashed.