Add kodi-gbm.service

This allows running Kodi directly off DRM/KMS without X server.
This commit is contained in:
nl6720 2019-04-28 12:22:30 +03:00
parent 9df8992d96
commit 5da11a4fe3

19
init/kodi-gbm.service Normal file
View File

@ -0,0 +1,19 @@
[Unit]
Description=Kodi standalone (GBM)
After=systemd-user-sessions.service network.target network-online.target sound.target upower.service mysqld.service
Requires=graphical.target
Wants=network.target network-online.target
Conflicts=getty@tty1.service
[Service]
User=kodi
Group=kodi
PAMName=login
TTYPath=/dev/tty1
Environment=WINDOWING=gbm
ExecStart=/usr/bin/kodi-standalone
Restart=on-abort
StandardInput=tty
[Install]
WantedBy=graphical.target