summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-18 22:06:25 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-19 00:00:24 +0200
commita45e6ef38fef30586b1c02cfe1696f3932a5566f (patch)
tree5e9d944b41e687627b1d6ff4873bf2c1b46a469d
parent34c10968cbe3b5591b3c0ce225b8694edd9709d0 (diff)
tmpfiles: automatically clean up /var/lib/systemd/coredump after 3d
-rw-r--r--tmpfiles.d/systemd.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf
index fbc47823db..8cba5cad4d 100644
--- a/tmpfiles.d/systemd.conf
+++ b/tmpfiles.d/systemd.conf
@@ -25,3 +25,6 @@ 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