summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-08-03 14:02:28 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-08-08 09:42:45 +0200
commit683bcd6b10aa6775416d8bb5f72f8ff0eed14efb (patch)
tree08d0d553a922c8836d076c452390021e80c61859
parentc0b2c34c3a493ed4ed84586b9bb4a7842a9dc816 (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