Initial commit of a tmpfiles.d manpage.
I ran it through xmllint but I don't know how to make it look pretty
like the rest of the xml files. :-P
Signed-off-by: Brandon Philips
---
Makefile.am|3 +-
man/tmpfiles.d.xml | 149
2 files changed, 151 insertions(+), 1 deletions(-)
create mode 100644 man/tmpfiles.d.xml
diff --git a/Makefile.am b/Makefile.am
index 03a6a4e..456553f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -486,7 +486,8 @@ MANPAGES = \
man/halt.8 \
man/shutdown.8 \
man/pam_systemd.8 \
- man/systemd.conf.5
+ man/systemd.conf.5 \
+ man/tmpfiles.d.5
MANPAGES_ALIAS = \
man/reboot.8 \
diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml
new file mode 100644
index 000..5ff53ef
--- /dev/null
+++ b/man/tmpfiles.d.xml
@@ -0,0 +1,149 @@
+
+
+http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";>
+
+
+
+
+tmpfiles.d
+systemd
+
+
+
+Documentation
+Brandon
+Philips
+bran...@ifup.org
+
+
+
+
+
+tmpfiles.d
+5
+
+
+
+tmpfiles.d
+configuration for creation, deletion and cleaning
of tmpfiles
+
+
+
+Description
+
+ systemd uses
/etc/tmpfiles.d/ to describe the creation, cleaning and
removal of temporary files and directories
+which usually reside in /var/run or
/tmp).
+Each configuration file is named in the style of
+/etc/tmpfiles.d/.conf
+
+
+
+
+ Configuration Format
+
+ The configuration format is one line per path containing
+action, mode, ownership and age fields:
+
+ type path mode uid gid age
+d/var/run/user 0755 root root 10d
+
+
+
+ type
+
+
+f
+create a file
+
+
+
+F
+truncate a
file
+
+
+
+d
+create a
directory
+
+
+
+D
+truncate a
directory
+
+
+
+x
+ignore the
path
+
+
+
+r
+remove the
path
+
+
+
+R
+recursively remove the
path
+
+
+
+
+
+ age
+ The date field, when set, is used to decide what files to
delete when cleaning. If a file or directory is older than the current time
minus the age field it is deleted. The field format is an integer followed by
one of the following postfixes:
+
+ sec
+ s
+ min
+ hr
+ h
+ d
+ w
+ msec
+ ms
+ m
+ usec
+ us
+
+
+
+
+
+
+
+Example
+
+/etc/tmpfiles.d/screen.conf example
+screen needs two directories
created at boot with specific modes and ownership.
+
+d /var/run/screens 1777 root root 10d
+d /var/run/uscreens 0755 root root 10d
+
+
+
+
+
+See Also
+
+
systemd1
+
+
+
+
--
1.7.2.2
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel