From 3b63d2d31d0850bd7a81ab9b468218d2c4c461e8 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 18 Oct 2010 22:38:41 +0200 Subject: tmpfiles: integrate kay's directory cleanup code and otherwise beef up tmpfiles quite a bit --- tmpfiles.d/systemd.conf | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'tmpfiles.d/systemd.conf') diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf index ee326f0826..e93b736bec 100644 --- a/tmpfiles.d/systemd.conf +++ b/tmpfiles.d/systemd.conf @@ -5,6 +5,12 @@ # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. -d /var/lock/subsys 0755 root root -d /var/run/user 0755 root root -f /var/run/utmp 0664 root utmp +d /var/lock/subsys 0755 root root 10d +d /var/run/user 0755 root root 10d +F /var/run/utmp 0664 root utmp - +f /var/log/wtmp 0644 root utmp - + +d /tmp 1777 root root 10d +d /var/tmp 1777 root root 30d + +d /var/cache/man - - - 30d -- cgit v1.2.3-54-g00ecf