From 24f3a374b9588a6e409ba58b40bdd684050decf3 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 20 Jun 2012 09:05:50 +0200 Subject: tmpfiles: exclude the first level directories in /run/user from automatic clean up It's logind's job to maintain those user dirs, so avoid automatic clean up for them. However, we do cover everything within them. --- man/tmpfiles.d.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'man') diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index 75d4bcd695..8776068a11 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -267,6 +267,12 @@ L /tmp/foobar - - - - /dev/null The age field only applies to lines starting with d, D and x. If omitted or set to - no automatic clean-up is done. + + If the age field starts with a tilde + character (~) the clean-up is only applied to + files and directories one level inside the + directory specified, but not the files and + directories immediately inside it. -- cgit v1.2.3-54-g00ecf