From 6da592d11f2d3530ec84f1e5c42036eadb184605 Mon Sep 17 00:00:00 2001 From: Tadao Tanikawa Date: Fri, 25 Sep 2015 20:16:38 +0900 Subject: Add systemd configuration to launch weston automatically Add systemd configuration to launch weston automatically while system booting. Also pam is needed to be added DISTRO_FEATURES to launch weston-terminal when weston is running by weston-launch which is used by weston.service. Change-Id: Id467c3fb19856299ccf80de21a16ae51fe433cc1 Signed-off-by: Tadao Tanikawa --- meta-agl/recipes-graphics/wayland/weston/weston.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta-agl/recipes-graphics/wayland/weston/weston.service (limited to 'meta-agl/recipes-graphics/wayland/weston/weston.service') diff --git a/meta-agl/recipes-graphics/wayland/weston/weston.service b/meta-agl/recipes-graphics/wayland/weston/weston.service new file mode 100644 index 000000000..3d25c3745 --- /dev/null +++ b/meta-agl/recipes-graphics/wayland/weston/weston.service @@ -0,0 +1,11 @@ +[Unit] +Description=Weston reference Wayland compositor +After=dbus.service rc.pvr.service + +[Service] +ExecStart=/usr/bin/weston-launch -u root -- --idle-time=4294967 +ExecStop=/usr/bin/killall -s KILL weston +Type=simple + +[Install] +WantedBy=multi-user.target -- cgit 1.2.3-korg