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 <jose.bollo@iot.bzh>
# 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}}