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