summaryrefslogtreecommitdiffstats
path: root/_to_remove/recipes-graphics/wayland/weston-init/weston.conf.in
diff options
context:
space:
mode:
Diffstat (limited to '_to_remove/recipes-graphics/wayland/weston-init/weston.conf.in')
-rw-r--r--_to_remove/recipes-graphics/wayland/weston-init/weston.conf.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/_to_remove/recipes-graphics/wayland/weston-init/weston.conf.in b/_to_remove/recipes-graphics/wayland/weston-init/weston.conf.in
new file mode 100644
index 000000000..9c3df052d
--- /dev/null
+++ b/_to_remove/recipes-graphics/wayland/weston-init/weston.conf.in
@@ -0,0 +1,12 @@
+[Service]
+Type=notify
+Environment="XDG_RUNTIME_DIR=@XDG_RUNTIME_DIR@"
+# 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@
+SmackProcessLabel=System::Weston