Add kodi-gbm.service
This allows running Kodi directly off DRM/KMS without X server.
This commit is contained in:
parent
9df8992d96
commit
5da11a4fe3
19
init/kodi-gbm.service
Normal file
19
init/kodi-gbm.service
Normal 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
|
Loading…
Reference in New Issue
Block a user