chiark / gitweb /
tmpfiles: automatically clean up /var/lib/systemd/coredump after 3d
[elogind.git] / tmpfiles.d / systemd.conf
index 28362e86bc85e84f35e381279dc64d2adc5a65e4..8cba5cad4d4dcd8fb8b649f2580e17703da04700 100644 (file)
@@ -7,20 +7,24 @@
 
 # See tmpfiles.d(5) for details
 
-d /run/user 0755 root root 10d
-F /run/utmp 0664 root utmp -
-
-f /var/log/wtmp 0664 root utmp -
-f /var/log/btmp 0600 root utmp -
-
-d /var/cache/man - - - 30d
-
-r /forcefsck
-r /forcequotacheck
-r /fastboot
+d /run/user 0755 root root ~10d
+F! /run/utmp 0664 root utmp -
 
 d /run/systemd/ask-password 0755 root root -
 d /run/systemd/seats 0755 root root -
 d /run/systemd/sessions 0755 root root -
 d /run/systemd/users 0755 root root -
+d /run/systemd/machines 0755 root root -
 d /run/systemd/shutdown 0755 root root -
+d /run/systemd/netif 0755 systemd-network systemd-network -
+d /run/systemd/netif/links 0755 systemd-network systemd-network -
+d /run/systemd/netif/leases 0755 systemd-network systemd-network -
+
+z /run/log/journal 2755 root systemd-journal - -
+Z /run/log/journal/%m ~2750 root systemd-journal - -
+
+z /var/log/journal 2755 root systemd-journal - -
+z /var/log/journal/%m 2755 root systemd-journal - -
+
+d /var/lib/systemd 0755 root root -
+d /var/lib/systemd/coredump 0755 root root 3d