diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-09-16 03:51:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 03:51:09 +0200 |
commit | f6cc5e1c8d23d01e80a0471608f712e22d9b9100 (patch) | |
tree | 2945a1f9c08a9006fcc2a8ac03067af076dec5dd /man | |
parent | Merge pull request #34425 from yuwata/udev-rules-case-insensitive-match (diff) | |
parent | tmpfiles.d: add $ flag to all lines which are clearly private to our packages... (diff) | |
download | systemd-f6cc5e1c8d23d01e80a0471608f712e22d9b9100.tar.xz systemd-f6cc5e1c8d23d01e80a0471608f712e22d9b9100.zip |
Merge pull request #34393 from poettering/tmpfiles-ownership-flag
tmpfiles: introduce an explicit line flag $ for enabling purge logic …
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd-tmpfiles.xml | 9 | ||||
-rw-r--r-- | man/tmpfiles.d.xml | 4 |
2 files changed, 9 insertions, 4 deletions
diff --git a/man/systemd-tmpfiles.xml b/man/systemd-tmpfiles.xml index f3108b53d9..b7b4d0dca6 100644 --- a/man/systemd-tmpfiles.xml +++ b/man/systemd-tmpfiles.xml @@ -152,10 +152,11 @@ <varlistentry> <term><option>--purge</option></term> - <listitem><para>If this option is passed, all files and directories marked for - <emphasis>creation</emphasis> by the <filename>tmpfiles.d/</filename> files specified on the command - line will be <emphasis>deleted</emphasis>. Specifically, this acts on all files and directories - marked with <varname>f</varname>, <varname>F</varname>, <varname>d</varname>, <varname>D</varname>, + <listitem><para>If this option is passed, all files and directories declared for + <emphasis>creation</emphasis> and marked with the <literal>$</literal> character by the + <filename>tmpfiles.d/</filename> files specified on the command line will be + <emphasis>deleted</emphasis>. Specifically, this acts on all files and directories marked with + <varname>f</varname>, <varname>F</varname>, <varname>d</varname>, <varname>D</varname>, <varname>v</varname>, <varname>q</varname>, <varname>Q</varname>, <varname>p</varname>, <varname>L</varname>, <varname>c</varname>, <varname>b</varname>, <varname>C</varname>, <varname>w</varname>, <varname>e</varname>. If this switch is used at least one diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index 15027def60..a721c1e66d 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -539,6 +539,10 @@ w- /proc/sys/vm/swappiness - - - - 10</programlisting></para> service, the line is silently skipped. If <literal>^</literal> and <literal>~</literal> are combined Base64 decoding is applied to the credential contents.</para> + <para>If the dollar sign (<literal>$</literal>) is used, the file becomes subject to removal when + <command>systemd-tmpfiles</command> is invoked with the <option>--purge</option> switch. Lines without + this character are unaffected by that switch.</para> + <para>Note that for all line types that result in creation of any kind of file node (i.e. <varname>f</varname>, <varname>d</varname>/<varname>D</varname>/<varname>v</varname>/<varname>q</varname>/<varname>Q</varname>, |