]> err.no Git - systemd/commitdiff
man: document Sockets= switch
authorLennart Poettering <lennart@poettering.net>
Tue, 5 Oct 2010 18:51:00 +0000 (20:51 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 5 Oct 2010 18:51:00 +0000 (20:51 +0200)
man/systemd.service.xml

index d573ec6f96a3721652cc330b3f09eecc98502317..8f455ea4c721fd74874fba38c35cd12568baa43c 100644 (file)
                                 <varname>Type=notify</varname> (see above).</para></listitem>
                         </varlistentry>
 
+                        <varlistentry>
+                                <term><varname>Sockets=</varname></term>
+                                <listitem><para>Specifies the name of
+                                the socket units this service shall
+                                inherit the sockets from when the
+                                service (ignoring the different suffix
+                                of course) is started. Normally it
+                                should not be necessary to use this
+                                setting as all sockets whose unit
+                                shares the same name as the service
+                                are passed to the spawned
+                                process.</para>
+
+                                <para>Note that the same socket may be
+                                passed to multiple processes at the
+                                same time. Also note that a different
+                                service may be activated on incoming
+                                traffic than inherits the sockets. Or
+                                in other words: The
+                                <varname>Service=</varname> setting of
+                                <filename>.socket</filename> units
+                                doesn't have to match the inverse of the
+                                <varname>Sockets=</varname> setiing of
+                                the <filename>.service</filename> it
+                                refers to.</para></listitem>
+                        </varlistentry>
+
                 </variablelist>
         </refsect1>