retroarch-standalone-service/init/kodi.service
François-Xavier Thomas dd0c5d18d3 Make X believe Kodi was started from a VT
This removes the need to modify /etc/X11/Xwrapper.config.
2015-01-04 19:35:12 +01:00

18 lines
445 B
Desktop File

[Unit]
Description = Starts instance of Kodi using xinit
After = systemd-user-sessions.service network.target sound.target mysqld.service
Conflicts=getty@tty7.service
[Service]
User = kodi
Group = kodi
PAMName=login
Type = simple
TTYPath=/dev/tty7
ExecStart = /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone -- :0 -nolisten tcp vt7
Restart = on-abort
StandardInput = tty
[Install]
WantedBy = multi-user.target