From b8bb3e8f346468e61dcc7a6aba5e7ac9c623d964 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 12 Feb 2011 09:31:25 +0100 Subject: tmpfiles: support globs --- man/tmpfiles.d.xml | 54 ++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 40 insertions(+), 14 deletions(-) (limited to 'man/tmpfiles.d.xml') diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index e6b4c1bfac..e211d6ded5 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -54,11 +54,11 @@ 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 + 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 /etc/tmpfiles.d/<program>.conf. @@ -97,17 +97,41 @@ d /var/run/user 0755 root root 10d x - Ignore a path + Ignore a path + during cleaning. Use this type + to exclude paths from clean-up + as controlled with the Age + parameter. Note that lines of + this type do not influence the + effect of r or R lines. Lines + of this type accept + shell-style globs in place of + of normal path + names. r - Remove a path + Remove a file + or directory if it + exists. This may not be used + to remove non-empty + directories, use R for + that. Lines of this type + accept shell-style globs in + place of normal path + names. R - Recursively remove a path + Recursively + remove a path and all its + subdirectories (if it is a + directory). Lines of this type + accept shell-style globs in + place of normal path + names. @@ -115,10 +139,11 @@ d /var/run/user 0755 root root 10d Mode - The file access mode to use for this - file or directory. If omitted or when set to - - the default is used: 0755 for directories, - 0644 for files. + The file access mode to use when + creating this file or directory. If omitted or + when set to - the default is used: 0755 for + directories, 0644 for files. This parameter is + ignored for x, r, R lines. @@ -127,8 +152,9 @@ d /var/run/user 0755 root root 10d The user and group to use for this file or directory. This may either be a numeric user/group ID or a user or group name. If - omitted or when set to - the default 0 is - used. + omitted or when set to - the default 0 (root) + is used. . These parameters are ignored for x, + r, R lines. -- cgit v1.2.3-54-g00ecf