aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorjobol <jose.bollo@iot.bzh>2017-02-03 23:23:53 +0100
committerjobol <jose.bollo@iot.bzh>2017-02-03 23:23:53 +0100
commit909c2221ef664c247832bebc7e9dfd7c38bae6c7 (patch)
tree0f0ed61821a759415e382eeaaf0501bd53cec4a0 /conf
parent0c6c12370b8f2b467f64e08b96b21b20e7ee15ee (diff)
Rename binding to api in config.xml
Signed-off-by: jobol <jose.bollo@iot.bzh>
Diffstat (limited to 'conf')
-rw-r--r--conf/afm-unit.conf10
1 files changed, 5 insertions, 5 deletions
diff --git a/conf/afm-unit.conf b/conf/afm-unit.conf
index 290c3e1..301bc9d 100644
--- a/conf/afm-unit.conf
+++ b/conf/afm-unit.conf
@@ -68,11 +68,11 @@ X-AGL-HTTP-port={{:#metadata.http-port}}
ConditionSecurity=smack
%nl
-# Automatic bound to required bindings
-{{#required-binding}}
+# Automatic bound to required api
+{{#required-api}}
BindsTo=afm-api-{{name}}
After=afm-api-{{name}}
-{{/required-binding}}
+{{/required-api}}
%nl
[Service]
@@ -104,7 +104,7 @@ ExecStart=/usr/bin/afb-daemon --port={{:#metadata.http-port}} --random-token \
{{#required-permission.urn:AGL:permission::public:applications:read}}\
--alias=/icons:{{:#metadata.icons-dir}} \
{{/required-permission.urn:AGL:permission::public:applications:read}}\
- {{#required-binding}}\
+ {{#required-api}}\
{{#value=auto}}\
--ws-client=unix:%t/apis/ws/{{name}} \
{{/value=auto}}\
@@ -120,7 +120,7 @@ ExecStart=/usr/bin/afb-daemon --port={{:#metadata.http-port}} --random-token \
{{#value=cloud}}\
--cloud-client={{name}} \
{{/value=cloud}}\
- {{/required-binding}}\
+ {{/required-api}}\
--exec /usr/bin/web-runtime http://localhost:@p/{{content.src}}?token=@t
{{/content.type=text/html}}