diff options
author | Fulup Ar Foll <fulup@iot.bzh> | 2017-09-29 12:23:26 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-12-13 15:02:54 +0100 |
commit | e2a20090f37eb32cdf8beaf9c23cf33a9e9ab7f1 (patch) | |
tree | 333ebb3e87531da12fe447309e77a6fa57ba4165 /conf.d/project/json.d/README.md | |
parent | bfdf6b934660f086ab241a48330ddf22162c7fa3 (diff) |
Initial Commit as submodule
Diffstat (limited to 'conf.d/project/json.d/README.md')
-rw-r--r-- | conf.d/project/json.d/README.md | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/conf.d/project/json.d/README.md b/conf.d/project/json.d/README.md deleted file mode 100644 index 209e708..0000000 --- a/conf.d/project/json.d/README.md +++ /dev/null @@ -1,23 +0,0 @@ -# Controller binding configuration - -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'. - -```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. - -Example to load a config name 'onload-myconfig-test.json' do - -```bash - AFB_BINDER_NAME='myconfig' afb-daemon --verbose ...' -``` - -Note: you may change search pattern for Lua script by adding 'ctlname=afb-middlename-xxx' in the metadata section of your config 'onload-*.json' - |