summaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-core/applaunchd/applaunchd/applaunchd.service
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-09-10 13:07:20 -0400
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2022-09-22 10:20:58 +0000
commitb87d4c95c086c9ae48c5ebe5c5fed43c148f477b (patch)
treeb8f7cfca88c9599accfd8a806428bffd40e5b793 /meta-app-framework/recipes-core/applaunchd/applaunchd/applaunchd.service
parent518131242323e907dc29317f5909cfeb9e552440 (diff)
meta-app-framework: applaunchd: update for gRPC addition
Changes to facilitate building gRPC enabled versionm of applaunchd: - Bump SRCREV to pick up gRPC changes - Add required protobuf and gRPC dependencies to DEPENDS - Add new systemd unit for standalone gRPC API daemon Bug-AGL: SPEC-4559 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I9daeabccc0bb7f7a730568c2b13f096a469ff82b Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28010 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-app-framework/recipes-core/applaunchd/applaunchd/applaunchd.service')
-rw-r--r--meta-app-framework/recipes-core/applaunchd/applaunchd/applaunchd.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-app-framework/recipes-core/applaunchd/applaunchd/applaunchd.service b/meta-app-framework/recipes-core/applaunchd/applaunchd/applaunchd.service
new file mode 100644
index 000000000..95673e962
--- /dev/null
+++ b/meta-app-framework/recipes-core/applaunchd/applaunchd/applaunchd.service
@@ -0,0 +1,12 @@
+[Unit]
+Wants=network.target
+After=network.target
+
+[Service]
+User=agl-driver
+Environment=XDG_DATA_DIRS=/usr/share
+ExecStart=/usr/bin/applaunchd
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target