From 522d4a495af3a615526fccdf038d2d68f41a73c8 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 13 Feb 2011 15:08:15 +0100 Subject: systemd: document systemd-tmpfiles --- man/systemd-tmpfiles.xml | 150 +++++++++++++++++++++++++++++++++++++++++++++++ man/tmpfiles.d.xml | 19 +++--- 2 files changed, 161 insertions(+), 8 deletions(-) create mode 100644 man/systemd-tmpfiles.xml (limited to 'man') diff --git a/man/systemd-tmpfiles.xml b/man/systemd-tmpfiles.xml new file mode 100644 index 0000000000..986a442ebb --- /dev/null +++ b/man/systemd-tmpfiles.xml @@ -0,0 +1,150 @@ + + + + + + + + + systemd-tmpfiles + systemd + + + + Developer + Lennart + Poettering + lennart@poettering.net + + + + + + systemd-tmpfiles + 8 + + + + systemd-tmpfiles + Creates, deletes and cleans up volatile + and temporary files and directories. + + + + + systemd-tmpfiles OPTIONS CONFIGURATION FILE + + + + + Description + + systemd-tmpfiles creates, + deletes and cleans up volatile ad temporary files and + directories, based on the configuration from + /etc/tmpfiles.d/. See + tmpfiles.d5 + for more details on these files. + + If invoked with no arguments applies all + directives from all configuration files in + /etc/tmpfiles.d/*.conf. If one or + more absolute file names are passed on the command + line only the directives in these files are + applied. + + + + Options + + The following options are understood: + + + + + + If this option is passed all + files and directories marked with f, + F, d, D in the configuration files are + created. + + + + + If this option is + passed all files and directories with + an age parameter configured will be + cleaned up. + + + + + If this option is + passed all files and directories marked + with r, R in the configuration files + are removed. + + + + Only apply rules that + apply to paths with the specified + prefix. + + + + + + + Prints a short help + text and exits. + + + + + It is possible to combine + , , + and in one invocation. For + example, during boot the following command line is + executed to ensure that all temporary and volatile + directores are removed and created according to the + configuration file: + + systemctl-tmpfiles --remove --create + + + + + Exit status + + On success 0 is returned, a non-zero failure + code otherwise. + + + + See Also + + systemd1, + tmpfiles.d5, + tmpwatch8 + + + + diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index e211d6ded5..868b57e935 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -42,7 +42,8 @@ tmpfiles.d - Configuration for creation, deletion and cleaning of temporary and volatile files + Configuration for creation, deletion and + cleaning of volatile and temporary files @@ -52,13 +53,14 @@ Description - systemd uses + systemd-tmpfiles uses the + configuration files in /etc/tmpfiles.d/ to describe the - creation, cleaning and removal of volatile files and - directories which usually reside in directories such - as /var/run or - /tmp. Each configuration file is - named in the style of + creation, cleaning and removal of volatile and + temporary files and directories which usually reside + in directories such as /var/run + or /tmp. Each configuration file + is named in the style of /etc/tmpfiles.d/<program>.conf. @@ -201,7 +203,8 @@ d /var/run/uscreens 0755 root root 10d12h See Also - systemd1 + systemd1, + systemd-tmpfiles8 -- cgit v1.2.1