Skip to content

Instantly share code, notes, and snippets.

@cdarne
Created February 25, 2013 11:08
Show Gist options
  • Save cdarne/5029162 to your computer and use it in GitHub Desktop.
Save cdarne/5029162 to your computer and use it in GitHub Desktop.
Upstart script for XBMC ubuntu. It handle the start/stop of the wii remote service
# /etc/init/xbmc-wiiremote.conf
# xbmc-wiiremote - start service adding wii remote control for xbmc
description "service adding wii remote control for xbmc"
author "Cedric Darne"
start on starting lightdm
stop on stopped lightdm
setuid xbmc
respawn
exec xbmc-wiiremote
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment