summaryrefslogtreecommitdiffstats
path: root/docs/afb-daemon-options.md
diff options
context:
space:
mode:
authorLi Xiaoming <lixm.fnst@cn.fujitsu.com>2019-08-23 16:57:42 +0800
committerLi Xiaoming <lixm.fnst@cn.fujitsu.com>2019-08-23 16:57:42 +0800
commit87446697d54dd1eebe2f4b5528520af7a0e8f027 (patch)
tree74bc09d5c481dbbcf38137eb0707a8f049fb495d /docs/afb-daemon-options.md
parent6599a89df853f4a128906f26142d5b861de90656 (diff)
Fix binding example path & update afb-daemon options
Bug-AGL: SPEC-2714 Change-Id: I78aee6b3d96728a7eb394ddd94000c516fbc63ba Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
Diffstat (limited to 'docs/afb-daemon-options.md')
-rw-r--r--docs/afb-daemon-options.md13
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/afb-daemon-options.md b/docs/afb-daemon-options.md
index 0588fef2..d8618bba 100644
--- a/docs/afb-daemon-options.md
+++ b/docs/afb-daemon-options.md
@@ -9,7 +9,7 @@ The launch options for binder **afb-daemon** are:
-l, --log=xxxx Tune log level
--foreground Get all in foreground mode
--background Get all in background mode
- --daemon Get all in background mode
+ -D, --daemon Get all in background mode
-n, --name=xxxx Set the visible name
-p, --port=xxxx HTTP listening TCP port [default 1234]
--roothttp=xxxx HTTP Root Directory [default no root http (files not served but apis still available)]
@@ -20,9 +20,9 @@ The launch options for binder **afb-daemon** are:
--cntxtimeout=xxxx Client Session Context Timeout [default 32000000]
--cache-eol=xxxx Client cache end of live [default 100000]
-w, --workdir=xxxx Set the working directory [default: $PWD or current working directory]
- -u, --uploaddir=xxxx Directory for uploading files [default: workdir]
- --rootdir=xxxx Root Directory of the application [default: workdir]
- --ldpaths=xxxx Load bindings from dir1:dir2:... [default = /opt/jobol/lib64/afb]
+ -u, --uploaddir=xxxx Directory for uploading files [default: workdir] relative to workdir
+ --rootdir=xxxx Root Directory of the application [default: workdir] relative to workdir
+ --ldpaths=xxxx Load bindings from dir1:dir2:... [default: path of afb-dbus-binding.so]
-b, --binding=xxxx Load the binding of path
--weak-ldpaths=xxxx Same as --ldpaths but ignore errors
--no-ldpaths Discard default ldpaths loading
@@ -41,14 +41,15 @@ The launch options for binder **afb-daemon** are:
--traceglob=xxxx Log the globals: none, all
--traceditf=xxxx Log the daemons: no, common, all
--tracesvc=xxxx Log the services: no, all
- --call=xxxx call at start format of val: API/VERB:json-args
+ --call=xxxx call at start, format of val: API/VERB:json-args
--no-httpd Forbid HTTP service
-e, --exec Execute the remaining arguments
-M, --monitoring Enable HTTP monitoring at <ROOT>/monitoring/
-C, --config=xxxx Load options from the given config file
-Z, --dump-config Dump the config to stdout and exit
-s, --set=xxxx Set parameters ([API]/[KEY]:JSON or {"API":{"KEY":JSON}}
- -o, --output=xxxx Redirect stdout and stderr to output file
+ -o, --output=xxxx Redirect stdout and stderr to output file (when --daemon)
+ --trap-faults=xxxx Trap faults: on, off, yes, no, true, false, 1, 0 (default: true)
```
## help