summaryrefslogtreecommitdiffstats
path: root/doc/afb-overview.md
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-01-04 18:52:32 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-01-05 15:21:19 +0100
commit84e049cf2312286ad1895cbebc82cabd5c30b9bb (patch)
tree7d2163d9de7258736daf3850d36bd9c0797ba02c /doc/afb-overview.md
parent4247029ca95bf3d3205410dc3b516ef27a220f69 (diff)
Adds options --no-httpd and --exec
The option option --exec use the remaining arguments of the command line (at the right of --exec) as a command to launch with its arguments. Arguments can use @p (for port), @t (for token) or @@ for @. When the option --exec is given, the command is launched as soon as afb-daemon is ready. When the command die, afb-daemon exits and before exiting, afb-daemon kills the launched command and its childs. The option --no-http forbids the activation of the HTTP server. Change-Id: Icdd91d84c818796b5ac6ea5d33ff3549a2fe3c25 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'doc/afb-overview.md')
-rw-r--r--doc/afb-overview.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/afb-overview.md b/doc/afb-overview.md
index c66f84ea..6272b5d2 100644
--- a/doc/afb-overview.md
+++ b/doc/afb-overview.md
@@ -232,6 +232,17 @@ The launch options for binder **afb-daemon** are:
Get all in background mode
+ --no-httpd
+
+ Forbids HTTP serve
+
+ --exec
+
+ Must be the last option for afb-daemon. The remaining
+ arguments define a command that afb-daemon will launch.
+ The sequences @p, @t and @@ of the arguments are replaced
+ with the port, the token and @.
+
Future development of afb-daemon
--------------------------------