weston: Create really shared files
[AGL/meta-agl.git] / meta-agl-profile-graphical / recipes-graphics / wayland / weston-init / weston.service.add
index b51d222..d24a8eb 100644 (file)
@@ -1,5 +1,8 @@
 Type=notify
 Environment="XDG_RUNTIME_DIR=@XDG_RUNTIME_DIR@"
+Environment="XDG_RUNTIMESHARE_DIR=@XDG_RUNTIME_DIR@/share"
+ExecStartPre=/bin/mkdir -p @XDG_RUNTIME_DIR@/share
+ExecStartPre=+/usr/bin/chsmack -a User::App-Shared -t @XDG_RUNTIME_DIR@/share
 TTYPath=/dev/tty@WESTONTTY@
 StandardInput=tty
 TTYReset=yes