summaryrefslogtreecommitdiffstats
path: root/conf/unit/generate-unit-conf/afm-unit
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/afm-unit
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/afm-unit')
-rw-r--r--conf/unit/generate-unit-conf/afm-unit3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/unit/generate-unit-conf/afm-unit b/conf/unit/generate-unit-conf/afm-unit
index 99d986d..7a47f08 100644
--- a/conf/unit/generate-unit-conf/afm-unit
+++ b/conf/unit/generate-unit-conf/afm-unit
@@ -58,6 +58,9 @@ define( `UNIT_NAME_BINDING_SERVICE', `UNIT_NAME_BINDING_BASE($1)@$2.service')
define( `APP_DATA_DIR', `/home/%i/app-data')
define( `USER_RUN_DIR', `@afm_users_rundir@/%i')
define( `DEBUGGING_DIR', `@afm_platform_rundir@/debug')
+define( `API_PATH', `USER_RUN_DIR/apis')
+define( `API_PATH_WS', `API_PATH/ws')
+define( `API_PATH_LINK', `API_PATH/link')
-----------------------------------------------------------------------
--