Control: user pkg-systemd-maintain...@lists.alioth.debian.org
Control: usertags -1 systemd-units

Hi Ritesh

On 15 October 2015 at 13:38, Ritesh Raj Sarraf <r...@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.

<snip>

> [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
instead.

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



-- 

Saludos,
Felipe Sateler

Reply via email to