summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/weston.conf.in
blob: 211136cc9d96df89ceddbf8dd34b272bb71c284d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Service]
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
# Note that clearing PAMName (thus not having PAMName=login) disables
# logind support for the session, which allows setting XDG_RUNTIME_DIR
# to something other than /run/user/% (as is done above).
# Without systemd-logind support, weston needs to be patched to allow
# its direct launcher to work for non-root users in this scenario.
PAMName=
ExecStart=
ExecStart=@WESTONSTART@