aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2019-07-02 12:06:56 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2019-07-02 16:49:01 +0200
commit4c70a6573f4a6e9c9361876336f6322528b2830d (patch)
tree1a048d2b41d31692d5aa988a399bcf2663a08c51
parent522c4958a7be34169be8289afa7daf349a2226b8 (diff)
neptune3-ui: Start neptune3 as the root userv5.13.0-1_QtAS
By default systemd doesn't set a user when starting the service, but because neptune3 needs some user specific directories we need to explicitly set it to 'root' Change-Id: Iffb042d6a7bc1b0bd121616b349c383fb9729a95 Reviewed-by: Vladimir Minenko <vladimir.minenko@pelagicore.com> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
-rw-r--r--meta-boot2qt/recipes-qt/automotive/neptune3-ui/neptune.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-boot2qt/recipes-qt/automotive/neptune3-ui/neptune.service b/meta-boot2qt/recipes-qt/automotive/neptune3-ui/neptune.service
index a280f2e1..5f1ea055 100644
--- a/meta-boot2qt/recipes-qt/automotive/neptune3-ui/neptune.service
+++ b/meta-boot2qt/recipes-qt/automotive/neptune3-ui/neptune.service
@@ -3,6 +3,7 @@ Description=Neptune
After=dbus.service dbus-session.service systemd-user-sessions.service
[Service]
+User=root
ExecStart=/usr/bin/appcontroller /opt/neptune3/neptune3-ui -r --dbus session -c am-config-neptune.yaml
Restart=on-failure
WorkingDirectory=/opt/neptune3