From 5da11a4fe32068a8be404e19a955329cde387ea2 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Sun, 28 Apr 2019 12:22:30 +0300 Subject: [PATCH] Add kodi-gbm.service This allows running Kodi directly off DRM/KMS without X server. --- init/kodi-gbm.service | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 init/kodi-gbm.service diff --git a/init/kodi-gbm.service b/init/kodi-gbm.service new file mode 100644 index 0000000..bfec1f8 --- /dev/null +++ b/init/kodi-gbm.service @@ -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