]> err.no Git - systemd/commit
tmpfiles: Move /tmp and /var/tmp to a separate tmpfiles.d file to ease overrides...
authorJosh Triplett <josh@joshtriplett.org>
Sat, 6 Aug 2011 22:48:27 +0000 (15:48 -0700)
committerLennart Poettering <lennart@poettering.net>
Wed, 24 Aug 2011 18:39:33 +0000 (20:39 +0200)
commitf08fce88206f7315cff24678590cd73cd5e75f95
tree9290a5e625105b4dcf32b75ffa92b2a4b168e05b
parent1c5224b33630a1f95952796b2cb582be052e0c27
tmpfiles: Move /tmp and /var/tmp to a separate tmpfiles.d file to ease overrides via /etc

Many people prefer to avoid clearing /tmp and /var/tmp, and
distributions often have explicit settings for how often to clear them
if at all.  Overriding those with systemd currently requires overriding
all of /usr/lib/tmpfiles.d/systemd.conf via
/etc/tmpfiles.d/systemd.conf, copying across all the other entries, and
updating that override when systemd.conf changes.

Move the /tmp and /var/tmp entries from systemd.conf to a separate
tmp.conf, making them easier to override without affecting the rest of
systemd.conf.
Makefile.am
tmpfiles.d/systemd.conf
tmpfiles.d/tmp.conf [new file with mode: 0644]