valeriyvdovin / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

Blame SOURCES/0052-man-explain-time-units-in-tmpfiles.patch

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