aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2024-09-26 13:07:24 -0400
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-09-30 14:43:28 +0000
commitafca52385fa472f3c8bd0607865ed89a7d48c26d (patch)
treeac031981a9b0510bdbaf61188684d898c098137b
parentdbd60227dfda962f0c68596e7d874794a23193ac (diff)
agl-persistent-storage-api: run as agl-driver
Tweak the agl-persistent-storage-api systemd unit to run the daemon as the agl-driver user instead of root. Another non-root user would also be an option, but since there's no authentication scheme for the API, running it as the same user as the applications seems reasonable for now. Bug-AGL: SPEC-5250 Change-Id: I57c9f8c108dd78b1fd6e5b011ed39e81946ab0bc Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30317 ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-boot-test: Jenkins Job builder account Reviewed-by: Naoto YAMAGUCHI <naoto.yamaguchi@aisin.co.jp> Tested-by: Jenkins Job builder account
-rw-r--r--recipes-demo/agl-persistent-storage-api/files/agl-persistent-storage-api.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-demo/agl-persistent-storage-api/files/agl-persistent-storage-api.service b/recipes-demo/agl-persistent-storage-api/files/agl-persistent-storage-api.service
index 9f1f72145..2e07de9f0 100644
--- a/recipes-demo/agl-persistent-storage-api/files/agl-persistent-storage-api.service
+++ b/recipes-demo/agl-persistent-storage-api/files/agl-persistent-storage-api.service
@@ -5,7 +5,7 @@ After=network-online.target
Type=simple
ExecStart=/usr/bin/agl-service-persistent-storage
Restart=on-failure
-#User=persistent-api
+User=agl-driver
[Install]
WantedBy=default.target