[Unit]
Description=Initiate afm-system-setup
-Before=weston@display.service afs-supervisor.service afm-system-daemon.service
+Before=weston.service afs-supervisor.service afm-system-daemon.service
[Service]
Type=oneshot
ExecStart=-@afm_libexecdir@/afm-system-setup.sh
ENDIF
IF_PERM(:public:display)
-BindsTo=weston@display.service
-After=weston@display.service
+BindsTo=weston.service
+After=weston.service
ENDIF
IF_PERM(:public:bluetooth)
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