You are on page 1of 1

4.1 Upstart init script Create a /etc/init/xbmc.conf with following contents. # xbmc-upstart # starts XBMC on startup by using xinit.

# 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.

You might also like