diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-03-13 16:18:23 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-03-13 16:28:25 +0100 |
commit | e85e5d8ffe242f826b5f98e2834407b5d4c46690 (patch) | |
tree | 39a48653735a3bea22fcd2a48a080ee83e6838c4 /README.md | |
parent | e2c431bcda7f057b4767c3e8142b9e0ca0d32bc6 (diff) |
Integration of socket activation for services
The services provided using the option --ws-server
can now be linked to socket activation of systemd.
When afb-daemon is launched, the api to be provided
by socket activation is declared by adding the
option
--ws-server=sd:APINAME
Where APINAME is the name of the provided api.
The binder looks to the prefix "sd:" to automatically
use the "listen fd" of name APINAME for serving
the api APINAME.
In the socket activation unit the connection
to this socket must be named using the
directive FileDescriptorName as below:
[socket]
FileDescriptorName=APINAME
...
Change-Id: I281e1a2b9fed3eac3bd0ee27b7f56df99df7bbd6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions