summaryrefslogtreecommitdiffstats
path: root/conf/unit/generate-unit-conf/binder.inc
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-11-08 14:47:10 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2018-11-08 14:47:10 +0100
commit94176d9f5f1a5d9b1f298000c2868ebab148d805 (patch)
treed04e95bd7c748b021c6559aca373e012af5c6c3b /conf/unit/generate-unit-conf/binder.inc
parent44c70fd80a3ff8931aa97555ceaf5ed578e4f8be (diff)
afm-unit: Export new variables
Export the new variables: - AFM_ID: the identifier of the application - AFM_WORKDIR: the workdir of the application - AFM_WSAPI_DIR: the directory where APIs can be accessed Change-Id: I79b46754f84161a36d9a13dd79bc94e777c854fe Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/unit/generate-unit-conf/binder.inc')
-rw-r--r--conf/unit/generate-unit-conf/binder.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/unit/generate-unit-conf/binder.inc b/conf/unit/generate-unit-conf/binder.inc
index 8f3bd7d..1a5e71f 100644
--- a/conf/unit/generate-unit-conf/binder.inc
+++ b/conf/unit/generate-unit-conf/binder.inc
@@ -31,7 +31,7 @@ ELSE \
ENDIF \
ON_PERM(:public:applications:read, --alias=/icons:{{:#metadata.icons-dir}}) \
{{#required-api}} \
- ON_VALUE(auto|ws, --ws-client=unix:USER_RUN_DIR/apis/ws/{{name}}) \
+ ON_VALUE(auto|ws, --ws-client=unix:API_PATH_WS/{{name}}) \
ON_VALUE(dbus, --dbus-client={{name}}) \
ON_VALUE(cloud, --cloud-client={{name}}) \
ON_VALUE(local, --binding={{:#metadata.install-dir}}/{{name}}) \
@@ -39,7 +39,7 @@ ENDIF \
{{/required-api}} \
{{#required-binding}} \
ON_VALUE(local, --binding={{:#metadata.install-dir}}/{{name}}) \
- ON_VALUE(extern, --binding=USER_RUN_DIR/apis/link/{{name}}) \
+ ON_VALUE(extern, --binding=API_PATH_LINK/{{name}}) \
{{/required-binding}} \
{{#provided-api}} \
ON_VALUE(auto|ws, --ws-server=sd:{{name}}) \