From afca52385fa472f3c8bd0607865ed89a7d48c26d Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Thu, 26 Sep 2024 13:07:24 -0400 Subject: 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 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 ci-image-boot-test: Jenkins Job builder account Reviewed-by: Naoto YAMAGUCHI Tested-by: Jenkins Job builder account --- .../agl-persistent-storage-api/files/agl-persistent-storage-api.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-demo') 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 -- cgit 1.2.3-korg