mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
man: explain time units in tmpfiles
https://bugzilla.redhat.com/show_bug.cgi?id=1195294
This commit is contained in:
parent
2c35d880de
commit
00c53f4283
@ -443,23 +443,22 @@
|
|||||||
delete when cleaning. If a file or directory is older than the
|
delete when cleaning. If a file or directory is older than the
|
||||||
current time minus the age field, it is deleted. The field
|
current time minus the age field, it is deleted. The field
|
||||||
format is a series of integers each followed by one of the
|
format is a series of integers each followed by one of the
|
||||||
following postfixes for the respective time units:</para>
|
following postfixes for the respective time units:
|
||||||
|
<constant>s</constant>,
|
||||||
<variablelist>
|
<constant>m</constant> or <constant>min</constant>,
|
||||||
<varlistentry>
|
<constant>h</constant>,
|
||||||
<term><varname>s</varname></term>
|
<constant>d</constant>,
|
||||||
<term><varname>min</varname></term>
|
<constant>w</constant>,
|
||||||
<term><varname>h</varname></term>
|
<constant>ms</constant>,
|
||||||
<term><varname>d</varname></term>
|
<constant>us</constant>,
|
||||||
<term><varname>w</varname></term>
|
respectively meaning seconds, minutes, hours, days, weeks,
|
||||||
<term><varname>ms</varname></term>
|
milliseconds, and microseconds. Full names of the time units can
|
||||||
<term><varname>m</varname></term>
|
be used too.
|
||||||
<term><varname>us</varname></term></varlistentry>
|
</para>
|
||||||
</variablelist>
|
|
||||||
|
|
||||||
<para>If multiple integers and units are specified, the time
|
<para>If multiple integers and units are specified, the time
|
||||||
values are summed up. If an integer is given without a unit,
|
values are summed. If an integer is given without a unit,
|
||||||
<varname>s</varname> is assumed.
|
<constant>s</constant> is assumed.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>When the age is set to zero, the files are cleaned
|
<para>When the age is set to zero, the files are cleaned
|
||||||
|
Loading…
Reference in New Issue
Block a user