From 2848a3d0591c7d0c9e97f208f00899a0f254ad0a Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Tue, 22 Nov 2022 03:36:44 -0500 Subject: native-shell-client: Add systemd unit Add a bbappend for native-shell-client to add a systemd unit that runs in the agl-driver user session. This is required to actually get it started if it is built into an image. Bug-AGL: SPEC-4618 Change-Id: If6c1c015544ee6f126fb30ca67822a38a83df64c Signed-off-by: Scott Murray --- .../native-shell-client/files/native-shell-client.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 recipes-demo/native-shell-client/files/native-shell-client.service (limited to 'recipes-demo/native-shell-client/files/native-shell-client.service') diff --git a/recipes-demo/native-shell-client/files/native-shell-client.service b/recipes-demo/native-shell-client/files/native-shell-client.service new file mode 100644 index 00000000..4d77513a --- /dev/null +++ b/recipes-demo/native-shell-client/files/native-shell-client.service @@ -0,0 +1,11 @@ +[Unit] +Requires=agl-compositor.service +After=agl-compositor.service + +[Service] +Type=simple +ExecStart=/usr/bin/native-shell-client +Restart=on-failure + +[Install] +WantedBy=agl-session.target -- cgit 1.2.3-korg