Bug#801886: xbmc: systemd support

Felipe Sateler fsateler at debian.org
Thu Oct 15 16:53:20 UTC 2015

Control: user pkg-systemd-maintainers at lists.alioth.debian.org
Control: usertags -1 systemd-units

Hi Ritesh

On 15 October 2015 at 13:38, Ritesh Raj Sarraf <rrs at debian.org> wrote:
> Source: xbmc

I think this should have been kodi ?

> Severity: wishlist
> Hello Balint,
> As much as I wished to move back to Debian with my RPi 2, I
> unfortunately cannot because the graphics driver is not well free.
> Until then, I'll send you patches. Attached is my small adaptation of
> systemd .service to work on my Raspbian Jessie image.


> [Unit]
> Description = Starts instance of Kodi

Please don't use spaces around the = separator. Although systemd
currently parses that ok, dh-systemd doesn't and it is not part of the
official spec so it may break in the future.

> After = systemd-user-sessions.service network.target sound.target mysqld.service
> [Service]
> User = kodi
> Type = simple
> ExecStart = /usr/bin/kodi-standalone

Does kodi-standalone signal that it is ready somehow? If it has an
option to daemonize itself, you should use that + Type=forking

> Restart = on-abort
> [Install]
> WantedBy = multi-user.target


Felipe Sateler

More information about the pkg-multimedia-maintainers mailing list