retroarch-standalone-service/init/kodi.service

18 lines
445 B
SYSTEMD
Raw Normal View History

2014-11-05 21:24:29 +01:00
[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
2015-01-03 16:03:16 +01:00
ExecStart = /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone -- :0 -nolisten tcp vt7
2014-11-05 21:24:29 +01:00
Restart = on-abort
StandardInput = tty
2014-11-05 21:24:29 +01:00
[Install]
WantedBy = multi-user.target