]> git.ipfire.org Git - thirdparty/systemd.git/commit
tmpfiles: introduce type X
authorMichal Sekletar <msekleta@redhat.com>
Fri, 18 Jan 2013 15:13:08 +0000 (16:13 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 25 Jan 2013 15:38:46 +0000 (10:38 -0500)
commit78a92a5a2306709e4587e332728a76901323ade9
tree37d489964b3601db4f593aa1966dad79785c2bc4
parente985665d2d226cb42b52bfcad6fd5b1586ad57d7
tmpfiles: introduce type X

Type X will exclude path itself from clean-up. However, if the path is a
directory systemd-tmpfiles will clean-up its content.

In contrast to type x, where path is ignored completely, type X needs some
Age parameter. In order to determine Age parameter, we will look for config
entries of type d or D and pick the best match.  Best match is either
exact match or longest prefix match.
man/tmpfiles.d.xml
src/tmpfiles/tmpfiles.c