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
|
2015-01-04 19:14:52 +01:00
|
|
|
StandardInput = tty
|
2014-11-05 21:24:29 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy = multi-user.target
|