Merge pull request #17 from nl6720/wayland

Add kodi-wayland.service
This commit is contained in:
graysky 2020-05-14 06:55:34 -04:00 committed by GitHub
commit 90acc3562c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 0 deletions

19
init/kodi-wayland.service Normal file
View 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