5da11a4fe3
This allows running Kodi directly off DRM/KMS without X server.
20 lines
452 B
Desktop File
20 lines
452 B
Desktop File
[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
|