retroarch-standalone-service/init/kodi.service

17 lines
374 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
2017-03-04 14:46:48 +01:00
Conflicts=getty@tty1.service
2014-11-05 21:24:29 +01:00
[Service]
2016-03-28 15:41:37 +02:00
User=kodi
Group=kodi
2014-11-05 21:24:29 +01:00
PAMName=login
2017-03-04 14:46:48 +01:00
TTYPath=/dev/tty1
ExecStart=/usr/bin/xinit /usr/bin/kodi-standalone -- :0 -nolisten tcp vt1
2016-03-28 15:41:37 +02:00
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