Fix socket dependency for afb service
authorRonan Le Martret <ronan.lemartret@iot.bzh>
Thu, 3 Aug 2017 12:02:28 +0000 (14:02 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 8 Aug 2017 07:42:45 +0000 (09:42 +0200)
Change-Id: Icb65d7165e1f1c0811f170effe148606bc367872
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
conf/afm-unit-debug.conf.in
conf/afm-unit.conf.in

index 3429f2d..3a3ef44 100644 (file)
@@ -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
index 43cfce5..5d4a58c 100644 (file)
@@ -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