Adds options --no-httpd and --exec
authorJosé Bollo <jose.bollo@iot.bzh>
Wed, 4 Jan 2017 17:52:32 +0000 (18:52 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 5 Jan 2017 14:21:19 +0000 (15:21 +0100)
commit84e049cf2312286ad1895cbebc82cabd5c30b9bb
tree7d2163d9de7258736daf3850d36bd9c0797ba02c
parent4247029ca95bf3d3205410dc3b516ef27a220f69
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>
doc/afb-overview.md
src/afb-config.c
src/afb-config.h
src/main.c