9 Launching the binder afb-daemon
10 -------------------------------
12 The launch options for binder **afb-daemon** are:
16 Prints help with available options
20 Display version and copyright
24 Increases the verbosity, can be repeated
28 HTTP listening TCP port [default 1234]
32 HTTP Root Directory [default $AFBDIR or else $HOME/.AFB]
36 Angular Base Root URL [default /opa]
38 This is used for any application of kind OPA (one page application).
39 When set, any missing document whose url has the form /opa/zzz
40 is translated to /opa/#!zzz
44 HTML Root API URL [default /api]
46 The plugins are available within that url.
50 Maps a path located anywhere in the file system to the
51 a subdirectory. The syntax for mapping a PATH to the
52 subdirectory NAME is: --alias=/NAME:PATH.
54 Example: --alias=/icons:/usr/share/icons maps the
55 content of /usr/share/icons within the subpath /icons.
57 This option can be repeated.
61 Plugin API timeout in seconds [default 20]
63 Defines how many seconds maximum a method is allowed to run.
68 Client Session Timeout in seconds [default 3600]
72 Client cache end of live [default 100000 that is 27,7 hours]
76 Sessions file path [default rootdir/sessions]
80 Load Plugins from given paths separated by colons
81 as for dir1:dir2:plugin1.so:... [default = $libdir/afb]
83 You can mix path to directories and to plugins.
84 The sub-directories of the given directories are searched
87 The plugins are the files terminated by '.so' (the extension
88 so denotes shared object) that contain the public entry symbol.
92 Load the plugin of given path.
96 Initial Secret token to authenticate.
98 If not set, no client can authenticate.
100 If set to the empty string, then any initial token is accepted.
104 Set the mode: either local, remote or global.
106 The mode indicate if the application is run locally on the host
107 or remotely through network.
111 Set the #fd to signal when ready
113 If set, the binder afb-daemon will write "READY=1\n" on the file
114 descriptor whose number if given (/proc/self/fd/xxx).
118 Transparent binding to a binder afb-daemon service through dbus.
120 It creates an API of name xxxx that is implemented remotely
121 and queried via DBUS.
125 Provides a binder afb-daemon service through dbus.
127 The name xxxx must be the name of an API defined by a plugin.
128 This API is exported through DBUS.
132 Get all in foreground mode (default)
136 Get all in background mode
139 Working with afb-daemon
140 -----------------------
147 - Integration of the protocol JSON-RPC for the websockets.
149 - The binder afb-daemon would launch the applications directly.
151 - The current setting of mode (local/remote/global) might be reworked to a
152 mechanism for querying configuration variables.
154 - Implements "one-shot" initial token. It means that after its first
155 authenticated use, the initial token is removed and no client can connect