Add weston dependency for units with display permission 75/24775/1 9.99.1 jellyfish/9.99.1 jellyfish_9.99.1
authorScott Murray <scott.murray@konsulko.com>
Tue, 16 Jun 2020 19:44:40 +0000 (15:44 -0400)
committerScott Murray <scott.murray@konsulko.com>
Tue, 16 Jun 2020 19:52:42 +0000 (15:52 -0400)
commitac6f7ed88291b81cb70981bd7463b6a3b292fece
treed227ccab89ae0d2bae1a9ef5e794b929e64517a8
parentf8cee78b734acf4636d134afa3f81ddcc06241e6
Add weston dependency for units with display permission

Add logic to the systemd unit template to add a dependency on the
weston@display.service if the widget has the display permission.
This fixes races with apps against weston / the new AGL compositor.

Bug-AGL: SPEC-3411

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ib89da253933e7e34cfe5dfeb668c8d9df63f0e51
conf/unit/service.inc