Joshua Watt ee905ad60b weston-init: Allow weston user to be specified
Adds variables to set the name of the weston user (defaulting to
"weston") and the home directory (defaulting to "/home/weston"). This
allows users to easily change which user the compositor runs as.

(From OE-Core rev: 079cf188adae1c7de3971a64df8cb04d5f47be4e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:53:10 +01:00

15 lines
224 B
SYSTEMD

[Unit]
Description=Weston socket
RequiresMountsFor=@runtimedir@
[Socket]
ListenStream=@runtimedir@/wayland-0
SocketMode=0775
SocketUser=@WESTON_USER@
SocketGroup=wayland
RemoveOnStop=yes
[Install]
WantedBy=sockets.target