ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
1ff636
From 6995221c988db99faa5de5ed948466e1982d9d9d Mon Sep 17 00:00:00 2001
1ff636
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
1ff636
Date: Mon, 23 Feb 2015 18:59:17 -0500
1ff636
Subject: [PATCH] man: explain time units in tmpfiles
1ff636
1ff636
https://bugzilla.redhat.com/show_bug.cgi?id=1195294
1ff636
(cherry picked from commit 00c53f4283ca41878a84b370840a84760b00d46e)
1ff636
---
1ff636
 man/tmpfiles.d.xml | 29 ++++++++++++++---------------
1ff636
 1 file changed, 14 insertions(+), 15 deletions(-)
1ff636
1ff636
diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml
c62b8e
index 8815bf9970..4bd0fcf751 100644
1ff636
--- a/man/tmpfiles.d.xml
1ff636
+++ b/man/tmpfiles.d.xml
1ff636
@@ -443,23 +443,22 @@
1ff636
       delete when cleaning. If a file or directory is older than the
1ff636
       current time minus the age field, it is deleted. The field
1ff636
       format is a series of integers each followed by one of the
1ff636
-      following postfixes for the respective time units:</para>
1ff636
-
1ff636
-      <variablelist>
1ff636
-        <varlistentry>
1ff636
-          <term><varname>s</varname></term>
1ff636
-          <term><varname>min</varname></term>
1ff636
-          <term><varname>h</varname></term>
1ff636
-          <term><varname>d</varname></term>
1ff636
-          <term><varname>w</varname></term>
1ff636
-          <term><varname>ms</varname></term>
1ff636
-          <term><varname>m</varname></term>
1ff636
-        <term><varname>us</varname></term></varlistentry>
1ff636
-      </variablelist>
1ff636
+      following postfixes for the respective time units:
1ff636
+      <constant>s</constant>,
1ff636
+      <constant>m</constant> or <constant>min</constant>,
1ff636
+      <constant>h</constant>,
1ff636
+      <constant>d</constant>,
1ff636
+      <constant>w</constant>,
1ff636
+      <constant>ms</constant>,
1ff636
+      <constant>us</constant>,
1ff636
+      respectively meaning seconds, minutes, hours, days, weeks,
1ff636
+      milliseconds, and microseconds. Full names of the time units can
1ff636
+      be used too.
1ff636
+      </para>
1ff636
 
1ff636
       <para>If multiple integers and units are specified, the time
1ff636
-      values are summed up. If an integer is given without a unit,
1ff636
-      <varname>s</varname> is assumed.
1ff636
+      values are summed. If an integer is given without a unit,
1ff636
+      <constant>s</constant> is assumed.
1ff636
       </para>
1ff636
 
1ff636
       <para>When the age is set to zero, the files are cleaned