dryang / rpms / systemd

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