diff options
author | Scott Murray <scott.murray@konsulko.com> | 2022-11-22 03:36:44 -0500 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2022-12-14 16:32:32 +0000 |
commit | 4bab714419f09eb5f341557fd701266b5d9f1baa (patch) | |
tree | 9bf553437d7631c36f29b69059100eab7c5384ae /recipes-demo/native-shell-client/files/native-shell-client.service | |
parent | ab5676f1d6fac13ad7d92405d8c8ab0f6eb2217d (diff) |
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 <scott.murray@konsulko.com>
(cherry picked from commit 2848a3d0591c7d0c9e97f208f00899a0f254ad0a)
Diffstat (limited to 'recipes-demo/native-shell-client/files/native-shell-client.service')
-rw-r--r-- | recipes-demo/native-shell-client/files/native-shell-client.service | 11 |
1 files changed, 11 insertions, 0 deletions
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 000000000..4d77513a9 --- /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 |