diff options
author | jobol <jose.bollo@iot.bzh> | 2017-02-03 23:23:53 +0100 |
---|---|---|
committer | jobol <jose.bollo@iot.bzh> | 2017-02-03 23:23:53 +0100 |
commit | 909c2221ef664c247832bebc7e9dfd7c38bae6c7 (patch) | |
tree | 0f0ed61821a759415e382eeaaf0501bd53cec4a0 /conf | |
parent | 0c6c12370b8f2b467f64e08b96b21b20e7ee15ee (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.conf | 10 |
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}} |