diff options
author | Zach Smith <z@zxmth.us> | 2019-10-28 09:32:16 -0700 |
---|---|---|
committer | Zach Smith <z@zxmth.us> | 2019-10-31 22:27:56 -0700 |
commit | eccebf4b0dcbacf0fb57bc114e2423066aeee100 (patch) | |
tree | 50f26b9e05fd53a333d34766692d9e4fc660d83c /man/tmpfiles.d.xml | |
parent | 21d0dd5a89fe0ef259ca51ebea9f39dd79a341c2 (diff) | |
download | systemd-eccebf4b0dcbacf0fb57bc114e2423066aeee100.tar.gz |
systemd-tmpfiles: deprecate F for f+
Diffstat (limited to 'man/tmpfiles.d.xml')
-rw-r--r-- | man/tmpfiles.d.xml | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index 726ae93e71..3e23f3927c 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -39,7 +39,7 @@ <programlisting>#Type Path Mode User Group Age Argument f /file/to/create mode user group - content -F /file/to/create-or-truncate mode user group - content +f+ /file/to/create-or-truncate mode user group - content w /file/to/write-to - - - - content d /directory/to/create-and-cleanup mode user group cleanup-age - D /directory/to/create-and-remove mode user group cleanup-age - @@ -155,19 +155,16 @@ L /tmp/foobar - - - - /dev/null</programlisting> <variablelist> <varlistentry> <term><varname>f</varname></term> - <listitem><para>Create a file if it does not exist yet. If the argument parameter is given and the file did - not exist yet, it will be written to the file. Does not follow symlinks.</para></listitem> + <term><varname>f+</varname></term> + <listitem><para><varname>f</varname> will create a file if it does not exist yet. If the argument + parameter is given and the file did not exist yet, it will be written to the file. + <varname>f+</varname> will create or truncate the file. If the argument parameter is given, it will + be written to the file. Does not follow symlinks.</para></listitem> </varlistentry> <varlistentry> - <term><varname>F</varname></term> - <listitem><para>Create or truncate a file. If the argument - parameter is given, it will be written to the file. Does not follow symlinks.</para> - </listitem> - </varlistentry> - - <varlistentry> - <term><varname>w, w+</varname></term> + <term><varname>w</varname></term> + <term><varname>w+</varname></term> <listitem><para>Write the argument parameter to a file, if the file exists. If suffixed with <varname>+</varname>, the line will be appended to the file. If your configuration writes multiple lines to the same file, use <varname>w+</varname>. |