X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/1954d52b492413ec0828e7da44ee7e639d81b79f..ea4fba86679ac5f40772944051003df5c5ff1117:/mkosi/kodi/mkosi.extra/etc/systemd/system/kodi-wayland.service?ds=inline diff --git a/mkosi/kodi/mkosi.extra/etc/systemd/system/kodi-wayland.service b/mkosi/kodi/mkosi.extra/etc/systemd/system/kodi-wayland.service new file mode 100644 index 0000000..c94f3fc --- /dev/null +++ b/mkosi/kodi/mkosi.extra/etc/systemd/system/kodi-wayland.service @@ -0,0 +1,21 @@ +[Unit] +Description=Kodi standalone (Wayland) +After=remote-fs.target 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 +Environment=XDG_RUNTIME_DIR=/tmp +EnvironmentFile=-/etc/conf.d/kodi-standalone +TTYPath=/dev/tty1 +Environment=WINDOWING=wayland +ExecStart=/usr/bin/cage -- /usr/bin/kodi-standalone +ExecStop=/usr/bin/killall --user kodi --exact --wait kodi-x11 +Restart=on-abort +StandardInput=tty +StandardOutput=journal + +[Install] +Alias=display-manager.service