summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-08-03 14:02:28 +0200
committerRonan Le Martret <ronan.lemartret@iot.bzh>2017-08-03 14:06:45 +0200
commitdb0f29830b95f917029d5b91267e3493c0444d58 (patch)
treec7752354f918b7fe583b4fa4cabcfc4141c01325
parent6c8c1c133c67c46950e8eb41ec771acec5a9ce0d (diff)
Fix socket dependency for afb service
Change-Id: Icb65d7165e1f1c0811f170effe148606bc367872 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
-rw-r--r--conf/afm-unit-debug.conf.in4
-rw-r--r--conf/afm-unit.conf.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/conf/afm-unit-debug.conf.in b/conf/afm-unit-debug.conf.in
index 3429f2d..3a3ef44 100644
--- a/conf/afm-unit-debug.conf.in
+++ b/conf/afm-unit-debug.conf.in
@@ -109,8 +109,8 @@ ConditionSecurity=smack
# Automatic bound to required api
{{#required-api}}
{{#value=auto|ws}}
-BindsTo=afm-api-ws-{{name}}
-After=afm-api-ws-{{name}}
+BindsTo=afm-api-ws-{{name}}.socket
+After=afm-api-ws-{{name}}.socket
{{/value=auto|ws}}
{{/required-api}}
%nl
diff --git a/conf/afm-unit.conf.in b/conf/afm-unit.conf.in
index 43cfce5..5d4a58c 100644
--- a/conf/afm-unit.conf.in
+++ b/conf/afm-unit.conf.in
@@ -109,8 +109,8 @@ ConditionSecurity=smack
# Automatic bound to required api
{{#required-api}}
{{#value=auto|ws}}
-BindsTo=afm-api-ws-{{name}}
-After=afm-api-ws-{{name}}
+BindsTo=afm-api-ws-{{name}}.socket
+After=afm-api-ws-{{name}}.socket
{{/value=auto|ws}}
{{/required-api}}
%nl