Add kodi-wayland.service
This allows running Kodi in a Wayland session using the Cage compositor.
This commit is contained in:
parent
aa83f6cc27
commit
b2caa0ef83
19
init/kodi-wayland.service
Normal file
19
init/kodi-wayland.service
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Kodi standalone (Wayland)
|
||||||
|
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
|
||||||
|
Conflicts=getty@tty1.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
User=kodi
|
||||||
|
Group=kodi
|
||||||
|
PAMName=login
|
||||||
|
TTYPath=/dev/tty1
|
||||||
|
Environment=WINDOWING=wayland
|
||||||
|
ExecStart=/usr/bin/cage -- /usr/bin/kodi-standalone
|
||||||
|
Restart=on-abort
|
||||||
|
StandardInput=tty
|
||||||
|
StandardOutput=journal
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=graphical.target
|
Loading…
Reference in New Issue
Block a user