Date: Fri, 4 Sep 2015 10:23:54 +0000 (+0200)
Subject: man: Add documentation for functionfs socket activation
X-Git-Tag: v227~102^2
X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c7c98398bad362cfae7b5a239cca11b93a67710;p=thirdparty%2Fsystemd.git
man: Add documentation for functionfs socket activation
---
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index 4c113a34790..642d95a0295 100644
--- a/man/systemd.service.xml
+++ b/man/systemd.service.xml
@@ -903,6 +903,22 @@
and no job queued or being executed for it.
+
+ USBFunctionDescriptors=
+ Configure the location of file containing
+ FunctionFS descriptors. This is is used only when socket with
+ ListenUSBFunction line want to activate this service. Content of
+ this file is writen to ep0 file after it is opened. This is required
+ for socket activation using ListenUSBFunction
+ (i.e. for passing all ffs endpoints to service).
+
+
+
+ USBFunctionStrings=
+ Configure the location of file containing FunctionFS strings.
+ Behavior is similar to USBFunctionDescriptors.
+
+
Check
diff --git a/man/systemd.socket.xml b/man/systemd.socket.xml
index 36fa3a86be3..7f884aa1be3 100644
--- a/man/systemd.socket.xml
+++ b/man/systemd.socket.xml
@@ -260,6 +260,17 @@
can be inherited between processes.
+
+ ListenUSBFunction=
+ Specifies a functionfs endpoint location
+ to listen on. This expects an absolute file system path as
+ argument. Behavior otherwise is very similar to the
+ ListenFIFO= directive above. Use this to
+ open functionfs endpoint ep0. When using this option, activated
+ service has to have USBFunctionDescriptors
+ and USBFunctionStrings options set.
+
+
BindIPv6Only=Takes a one of ,