3 Environment="XDG_RUNTIME_DIR=@XDG_RUNTIME_DIR@"
4 Environment="XDG_RUNTIMESHARE_DIR=@XDG_RUNTIME_DIR@/share"
5 ExecStartPre=/bin/mkdir -p @XDG_RUNTIME_DIR@/share
6 ExecStartPre=+/usr/bin/chsmack -a User::App-Shared -t @XDG_RUNTIME_DIR@/share
7 # Note that clearing PAMName (thus not having PAMName=login) disables
8 # logind support for the session, which allows setting XDG_RUNTIME_DIR
9 # to something other than /run/user/% (as is done above).
10 # Without systemd-logind support, weston needs to be patched to allow
11 # its direct launcher to work for non-root users in this scenario.
14 ExecStart=@WESTONSTART@