summaryrefslogtreecommitdiffstats
path: root/conf.d/project/json.d/README.md
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-08-24 10:43:50 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-13 15:02:04 +0100
commitcc5a4e3c78af19de0ddfca984eed192cc146a5ee (patch)
treeff931a546b093aba0f93cd1b49c841d86e203ab6 /conf.d/project/json.d/README.md
parent33be6dec796b351124f5606b382aee04dcfe46b6 (diff)
MD linting and merge json.d README to the root one
Change-Id: I1fd36c2f23743d746b91d61084bea0a39a1ce074 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/project/json.d/README.md')
-rw-r--r--conf.d/project/json.d/README.md19
1 files changed, 11 insertions, 8 deletions
diff --git a/conf.d/project/json.d/README.md b/conf.d/project/json.d/README.md
index 9bd15bf..209e708 100644
--- a/conf.d/project/json.d/README.md
+++ b/conf.d/project/json.d/README.md
@@ -1,18 +1,21 @@
-By default controller searches for a config filename with the same 'middlename' as daemon process. As an example if your process name is afb-daemon then middle name is 'daemon'.
+# Controller binding configuration
-```
- onload-middlename-xxxxx.json
+By default controller searches for a config filename with the same 'middlename' as daemon process. As an example if your process name is afb-daemon then middle name is 'daemon'.
- # Middlename is taken from process middlename.
+```bash
+# Middlename is taken from process middlename.
+onload-middlename-xxxxx.json
```
You may overload config search path with environement variables
- * AFB_BINDER_NAME: change patern config search path. 'export AFB_BINDER_NAME=sample' will make controller to search for a configfile name 'onload-sample-xxx.json'.
- * CONTROL_CONFIG_PATH: change default reserch path for configuration. You may provide multiple directories separated by ':'.
- * CONTROL_LUA_PATH: same as CONTROL_CONFIG_PATH but for Lua script files.
+
+* AFB_BINDER_NAME: change patern config search path. 'export AFB_BINDER_NAME=sample' will make controller to search for a configfile name 'onload-sample-xxx.json'.
+* CONTROL_CONFIG_PATH: change default reserch path for configuration. You may provide multiple directories separated by ':'.
+* CONTROL_LUA_PATH: same as CONTROL_CONFIG_PATH but for Lua script files.
Example to load a config name 'onload-myconfig-test.json' do
-```
+
+```bash
AFB_BINDER_NAME='myconfig' afb-daemon --verbose ...'
```