aboutsummaryrefslogtreecommitdiff
path: root/tmpfiles.conf
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-07-23 22:21:35 -0400
committerDave Reisner <dreisner@archlinux.org>2011-07-24 10:24:50 -0400
commite6c21e612838581c53c7742eb6071697f2d9e5a3 (patch)
treed5dee48319db29f6578cbef21adc763f28607856 /tmpfiles.conf
parent1f358f911a0237f4224169c4d225a9ae306e0853 (diff)
downloadinitscripts-e6c21e612838581c53c7742eb6071697f2d9e5a3.tar.xz
arch-tmpfiles: add new script to handle volatile file control
This is the same concept as systemd's tmpfiles handling, slightly simplified to avoid timed re-triggering of file cleaning. Most of our current file cleaning that takes place in rc.single and rc.sysinit is replaced by this, with the exception that we hold onto the /var/lock and /var/run for finer control, since we still check for the possibility of these directories being symlinks and adjust accordingly. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'tmpfiles.conf')
-rw-r--r--tmpfiles.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/tmpfiles.conf b/tmpfiles.conf
new file mode 100644
index 0000000..d47a028
--- /dev/null
+++ b/tmpfiles.conf
@@ -0,0 +1,20 @@
+#
+# /usr/lib/tmpfiles.d/arch.conf
+#
+
+d /tmp/.X11-unix 1777 root root 10d
+d /tmp/.ICE-unix 1777 root root 10d
+d /tmp/.XIM-unix 1777 root root 10d
+d /tmp/.font-unix 1777 root root 10d
+d /tmp/.Test-unix 1777 root root 10d
+
+f /var/run/tmp 0664 - utmp
+
+r /tmp/.X[0-9]-lock
+r /etc/nologin
+r /etc/shutdownpid
+r /forcefsck
+
+D /tmp/
+D /var/run/daemons
+