diff options
Diffstat (limited to 'yocto-poky/meta/recipes-graphics/wayland/weston-init/weston.service')
-rw-r--r-- | yocto-poky/meta/recipes-graphics/wayland/weston-init/weston.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/yocto-poky/meta/recipes-graphics/wayland/weston-init/weston.service b/yocto-poky/meta/recipes-graphics/wayland/weston-init/weston.service new file mode 100644 index 000000000..4f1f7ff10 --- /dev/null +++ b/yocto-poky/meta/recipes-graphics/wayland/weston-init/weston.service @@ -0,0 +1,15 @@ +[Unit] +Description=Weston Wayland compositor startup +RequiresMountsFor=/run + +[Service] +User=root +EnvironmentFile=-/etc/default/weston +Environment="XDG_RUNTIME_DIR=/run/user/root" +ExecStartPre=/bin/mkdir -p /run/user/root +ExecStartPre=/bin/chmod 0700 /run/user/root +ExecStart=/usr/bin/openvt -v -e /usr/bin/weston -- $OPTARGS + +[Install] +WantedBy=multi-user.target + |