From: José Bollo Date: Fri, 14 Feb 2020 09:37:56 +0000 (+0100) Subject: Fix homescreen start on yocto/Zeus X-Git-Tag: 9.99.1~9 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-main.git;a=commitdiff_plain;h=4f888279f132faf35caf92d4828f134f6daeb9a1 Fix homescreen start on yocto/Zeus Replacing BindsTo by Requires fix the start issue of the homescreen that complained with the message systemd[1]: afm-appli-homescreen--0.1--main@1001.service: ... ... Bound to unit afm-api-vshl-core@1001.service, but unit isn't active. Bug-AGL: SPEC-3178 Change-Id: I8df50354128d319f3dfc93b4d10848ecafdb6773 Signed-off-by: Jose Bollo --- diff --git a/conf/unit/service.inc b/conf/unit/service.inc index a520e3b..81554d2 100644 --- a/conf/unit/service.inc +++ b/conf/unit/service.inc @@ -55,14 +55,14 @@ ConditionSecurity=smack # Automatic bound to required api {{#required-binding}} {{#value=extern}} -BindsTo=UNIT_NAME_BINDING_SERVICE({{name}}) +Requires=UNIT_NAME_BINDING_SERVICE({{name}}) After=UNIT_NAME_BINDING_SERVICE({{name}}) {{/value=extern}} {{/required-binding}} {{#required-api}} {{#value=auto|ws}} -BindsTo=UNIT_NAME_API_SERVICE({{name}}) +Requires=UNIT_NAME_API_SERVICE({{name}}) After=UNIT_NAME_API_SERVICE({{name}}) {{/value=auto|ws}} {{/required-api}}