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:
parent
ff58330ee4
commit
f0c8619af7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user