retroarch-standalone-service/init/kodi.service

17 lines
415 B
SYSTEMD
Raw Normal View History

2014-11-05 21:24:29 +01:00
[Unit]
2016-03-28 15:41:37 +02:00
Description=Starts instance of Kodi using xinit
After=systemd-user-sessions.service network.target sound.target mysqld.service
2014-11-05 21:24:29 +01:00
Conflicts=getty@tty7.service
[Service]
2016-03-28 15:41:37 +02:00
User=kodi
Group=kodi
2014-11-05 21:24:29 +01:00
PAMName=login
TTYPath=/dev/tty7
2016-03-28 15:41:37 +02:00
ExecStart=/usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone -- :0 -nolisten tcp vt7
Restart=on-abort
StandardInput=tty
2014-11-05 21:24:29 +01:00
[Install]
2016-03-28 15:41:37 +02:00
WantedBy=multi-user.target