aboutsummaryrefslogtreecommitdiffstats
path: root/conf/unit/generate-unit-conf
diff options
context:
space:
mode:
authorClément Bénier <clement.benier@iot.bzh>2018-12-14 03:55:29 +0100
committerClément Bénier <clement.benier@iot.bzh>2018-12-14 03:55:29 +0100
commit2b6e13bd5812dc1d7efe338a163f6dd253bbe15b (patch)
tree97338ca04099344dd93697ff9ed809842b7105f9 /conf/unit/generate-unit-conf
parent0eb4c25cb5b63608fbef8458251c897a1766927b (diff)
afm-unit: add autoapi in required-api feature
- required-api feature: add autoapi value - start the daemon with --auto-api option to the websocket directory Change-Id: Ia36d0edb4bfa22d07feafed580373cda21dd5b35 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Diffstat (limited to 'conf/unit/generate-unit-conf')
-rw-r--r--conf/unit/generate-unit-conf/binder.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/unit/generate-unit-conf/binder.inc b/conf/unit/generate-unit-conf/binder.inc
index 1a5e71f..bc4608d 100644
--- a/conf/unit/generate-unit-conf/binder.inc
+++ b/conf/unit/generate-unit-conf/binder.inc
@@ -32,6 +32,7 @@ ENDIF \
ON_PERM(:public:applications:read, --alias=/icons:{{:#metadata.icons-dir}}) \
{{#required-api}} \
ON_VALUE(auto|ws, --ws-client=unix:API_PATH_WS/{{name}}) \
+ ON_VALUE(autoapi, --api-auto=API_PATH_WS) \
ON_VALUE(dbus, --dbus-client={{name}}) \
ON_VALUE(cloud, --cloud-client={{name}}) \
ON_VALUE(local, --binding={{:#metadata.install-dir}}/{{name}}) \