Source: xbmc 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. On RPi, the X is not run. So you may have to adapt it to be more generic. @Michael Gorven: Thank you for maintaining XBMC for RPi. I use your build. Since with Jessie, we have systemd, perhaps you may want to add support for it. BTW, I did not really have to do all the stuff you've done in the SysV init script. The systemd .service is very simple and basic, and it works perfect. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.3+ (SMP w/4 CPU cores) Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
[Unit] Description = Starts instance of Kodi After = systemd-user-sessions.service network.target sound.target mysqld.service [Service] User = kodi Type = simple ExecStart = /usr/bin/kodi-standalone Restart = on-abort [Install] WantedBy = multi-user.target

