summaryrefslogtreecommitdiffstats
path: root/conf/unit
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2020-02-14 10:37:56 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2020-02-20 13:25:45 +0100
commit4f888279f132faf35caf92d4828f134f6daeb9a1 (patch)
tree66143f26c93afda2a0c2594578a07ee8f0928f3b /conf/unit
parenta855d14583b2ac2629dfac696fea788826bacc4d (diff)
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 <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/unit')
-rw-r--r--conf/unit/service.inc4
1 files changed, 2 insertions, 2 deletions
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}}