18 lines
405 B
SYSTEMD
Raw Normal View History

2014-11-05 15:24:29 -05:00
[Unit]
2016-03-28 09:41:37 -04:00
Description=Starts instance of Kodi using xinit
After=systemd-user-sessions.service network.target sound.target mysqld.service
2017-03-04 08:46:48 -05:00
Conflicts=getty@tty1.service
2014-11-05 15:24:29 -05:00
[Service]
2016-03-28 09:41:37 -04:00
User=kodi
Group=kodi
2014-11-05 15:24:29 -05:00
PAMName=login
2017-03-04 08:46:48 -05:00
TTYPath=/dev/tty1
2017-07-30 21:26:00 -04:00
ExecStartPre=/usr/bin/sleep 2s
2017-03-04 08:46:48 -05:00
ExecStart=/usr/bin/xinit /usr/bin/kodi-standalone -- :0 -nolisten tcp vt1
2016-03-28 09:41:37 -04:00
Restart=on-abort
StandardInput=tty
2014-11-05 15:24:29 -05:00
[Install]
2016-03-28 09:41:37 -04:00
WantedBy=multi-user.target