aboutsummaryrefslogtreecommitdiffstats
path: root/conf/unit/service.inc
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2021-03-01 18:18:58 -0500
committerScott Murray <scott.murray@konsulko.com>2021-03-01 18:22:07 -0500
commitf8cb98997734001dac0534110a5c0d97f71bc7a8 (patch)
treefe195c1ed974c8bbf5da64701070dc66d71d15f6 /conf/unit/service.inc
parent3ea6f4a404d2486ef1c5da55f1cd0d98c594f157 (diff)
Update weston user/group
Change the user and group used to run weston or the agl-compositor from "display" to "weston" and the weston service unit name to match the reworked scheme for running weston as non-root in poky master. This approach seems better in the long-term for maintenance and avoiding surprises for users coming to AGL from other distributions. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia8093a6b14d6b5311f18633b6d0083bdd216fade
Diffstat (limited to 'conf/unit/service.inc')
-rw-r--r--conf/unit/service.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/conf/unit/service.inc b/conf/unit/service.inc
index dcc576b..d29774d 100644
--- a/conf/unit/service.inc
+++ b/conf/unit/service.inc
@@ -47,8 +47,8 @@ After=user@%i.service
ENDIF
IF_PERM(:public:display)
-BindsTo=weston@display.service
-After=weston@display.service
+BindsTo=weston.service
+After=weston.service
ENDIF
IF_PERM(:public:bluetooth)
@@ -118,7 +118,7 @@ ENDIF
ON_PERM(:platform:no-oom, OOMScoreAdjust=-500)
ON_PERM(:partner:real-time, IOSchedulingClass=realtime)
-ON_PERM(:public:display, SupplementaryGroups=display)
+ON_PERM(:public:display, SupplementaryGroups=weston)
ON_PERM(:public:audio, SupplementaryGroups=audio)
ON_NOT_PERM(:public:syscall:clock, SystemCallFilter=~@clock)
%nl