kodi-wayland: use runtime directory created by systemd

This will sort out the permissions warning mentionned in #27.

The RuntimeDirectory is created in /run/kodi with the necessary
permissions, %t points at /run.

See systemd.exec(5) and systemd.unit(5).
This commit is contained in:
Samir Benmendil 2020-12-29 01:51:08 +00:00
parent ff58330ee4
commit f0c8619af7
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,8 @@ Conflicts=getty@tty1.service
[Service]
User=kodi
Group=kodi
Environment="XDG_RUNTIME_DIR=/tmp"
RuntimeDirectory=kodi
Environment="XDG_RUNTIME_DIR=%t/kodi"
EnvironmentFile=-/etc/conf.d/kodi-standalone
TTYPath=/dev/tty1
Environment=WINDOWING=wayland