]> git.rmz.io Git - dotfiles.git/blob - mkosi/kodi/mkosi.extra/etc/systemd/system/kodi-wayland.service
nvim: allow normal mode in lsp.rename() popup
[dotfiles.git] / mkosi / kodi / mkosi.extra / etc / systemd / system / kodi-wayland.service
1 [Unit]
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
6
7 [Service]
8 User=kodi
9 Group=kodi
10
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
15
16 RuntimeDirectory=kodi
17 Environment=XDG_RUNTIME_DIR=%t/kodi
18
19 ExecStart=/usr/bin/cage -- /usr/bin/kodi-standalone
20 ExecStop=/usr/bin/killall --user kodi --exact --wait kodi-wayland
21 Restart=on-abort
22
23 TTYPath=/dev/tty1
24 StandardInput=tty
25 StandardOutput=journal
26
27 [Install]
28 Alias=display-manager.service