2 Description=Kodi standalone (Wayland)
3 After=remote-fs.target network-online.target nss-lookup.target sound.target bluetooth.target polkit.service upower.service mysqld.service
4 Wants=network-online.target polkit.service upower.service
5 Conflicts=getty@tty1.service
11 # It seems that udev events aren't propagated to sdl within nspawn. So udev hotplug doesn't work.
12 # SDL offers alternative methods to discover new devices, inotify and polling, use one of those.
13 Environment=SDL_JOYSTICK_DISABLE_UDEV=1
14 Environment=WINDOWING=wayland
17 Environment=XDG_RUNTIME_DIR=%t/kodi
19 ExecStart=/usr/bin/cage -- /usr/bin/kodi-standalone
20 ExecStop=/usr/bin/killall --user kodi --exact --wait kodi-wayland
25 StandardOutput=journal
28 Alias=display-manager.service