[Unit]
Description=boblightd
After=graphical.target

[Service]
ExecStart=/bin/sh -c "exec sh /storage/.xbmc/addons/service.multimedia.boblightd/bin/boblightd.start"
ExecStopPost=-/bin/sh -c "pidof boblight-X11 && killall -q -9 boblight-X11"
TimeoutStopSec=1
Restart=always
RestartSec=10
StartLimitInterval=0

[Install]
WantedBy=xbmc.target
