summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
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}}