2014-11-05 15:24:29 -05:00
|
|
|
[Unit]
|
2019-04-29 10:38:00 -04:00
|
|
|
Description=Kodi standalone (X11)
|
2019-10-30 18:32:01 +02:00
|
|
|
After=remote-fs.target systemd-user-sessions.service network-online.target nss-lookup.target sound.target bluetooth.target polkit.service upower.service mysqld.service
|
|
|
|
Wants=network-online.target polkit.service upower.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
|
2020-09-14 15:32:22 -04:00
|
|
|
EnvironmentFile=-/etc/conf.d/kodi-standalone
|
2014-11-05 15:24:29 -05:00
|
|
|
PAMName=login
|
2017-03-04 08:46:48 -05:00
|
|
|
TTYPath=/dev/tty1
|
2019-10-30 18:32:01 +02:00
|
|
|
Environment=WINDOWING=x11
|
2017-03-04 08:46:48 -05:00
|
|
|
ExecStart=/usr/bin/xinit /usr/bin/kodi-standalone -- :0 -nolisten tcp vt1
|
2020-09-23 07:30:32 -04:00
|
|
|
ExecStop=/usr/bin/pkill kodi
|
2016-03-28 09:41:37 -04:00
|
|
|
Restart=on-abort
|
|
|
|
StandardInput=tty
|
2020-09-23 07:30:32 -04:00
|
|
|
StandardOutput=file:/var/log/kodi-x11-standalone.log
|
|
|
|
StandardError=file:/var/log/kodi-x11-standalone.log
|
2014-11-05 15:24:29 -05:00
|
|
|
|
|
|
|
[Install]
|
2020-07-13 12:57:53 -04:00
|
|
|
Alias=display-manager.service
|