Skip to content
  • Josh Triplett's avatar
    tmpfiles: Move /tmp and /var/tmp to a separate tmpfiles.d file to ease overrides via /etc · f08fce88
    Josh Triplett authored
    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.
    f08fce88