chiark / gitweb /
tmpfiles: add new "C" line for copying files or directories
[elogind.git] / man / tmpfiles.d.xml
index 343fad163c6c6371b91cb0588bcae73453b7d094..20ed803a527653565f0c15dfdc02641d4f76c5df 100644 (file)
@@ -73,7 +73,7 @@
 
                 <para>System daemons frequently require private
                 runtime directories below <filename>/run</filename> to
-                place communication sockets and similar in. For these
+                place communication sockets and similar in. For these,
                 consider declaring them in their unit files using
                 <varname>RuntimeDirectory=</varname>
                 (see <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum></citerefentry> for details),
@@ -183,6 +183,11 @@ L    /tmp/foobar -    -    -    -   /dev/null</programlisting>
                                         <listitem><para>Create a block device node if it does not exist yet.</para></listitem>
                                 </varlistentry>
 
+                                <varlistentry>
+                                        <term><varname>C</varname></term>
+                                        <listitem><para>Recursively copy a file or directory, if the destination files or directories don't exist yet.</para></listitem>
+                                </varlistentry>
+
                                 <varlistentry>
                                         <term><varname>m</varname></term>
                                         <listitem><para>If the
@@ -446,8 +451,10 @@ r! /tmp/.X[0-9]*-lock</programlisting>
                         <varname>f</varname>, <varname>F</varname>,
                         and <varname>w</varname> may be used to
                         specify a short string that is written to the
-                        file, suffixed by a newline. Ignored for all
-                        other lines.</para>
+                        file, suffixed by a newline. For
+                        <varname>C</varname> specifies the source file
+                        or directory. Ignored for all other
+                        lines.</para>
                 </refsect2>
 
         </refsect1>