diff options
author | José Bollo <jose.bollo@iot.bzh> | 2018-11-08 14:47:10 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2018-11-08 14:47:10 +0100 |
commit | 94176d9f5f1a5d9b1f298000c2868ebab148d805 (patch) | |
tree | d04e95bd7c748b021c6559aca373e012af5c6c3b /conf/unit/generate-unit-conf/provided-binding.inc | |
parent | 44c70fd80a3ff8931aa97555ceaf5ed578e4f8be (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/provided-binding.inc')
-rw-r--r-- | conf/unit/generate-unit-conf/provided-binding.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/unit/generate-unit-conf/provided-binding.inc b/conf/unit/generate-unit-conf/provided-binding.inc index c60b0dc..64c453d 100644 --- a/conf/unit/generate-unit-conf/provided-binding.inc +++ b/conf/unit/generate-unit-conf/provided-binding.inc @@ -24,7 +24,7 @@ After=afm-user-setup@%i.service [Service] Type=oneshot RemainAfterExit=yes -ExecStart=/bin/ln -sf {{:#metadata.install-dir}}/{{value}} USER_RUN_DIR/apis/link/{{name}} +ExecStart=/bin/ln -sf {{:#metadata.install-dir}}/{{value}} API_PATH_LINK/{{name}} %end systemd-unit |