]> git.ipfire.org Git - thirdparty/systemd.git/blob - tmpfiles.d/tmp.conf
Merge pull request #8981 from keszybz/ratelimit-and-dbus
[thirdparty/systemd.git] / tmpfiles.d / tmp.conf
1 # This file is part of systemd.
2 #
3 # systemd is free software; you can redistribute it and/or modify it
4 # under the terms of the GNU Lesser General Public License as published by
5 # the Free Software Foundation; either version 2.1 of the License, or
6 # (at your option) any later version.
7
8 # See tmpfiles.d(5) for details
9
10 # Clear tmp directories separately, to make them easier to override
11 q /tmp 1777 root root 10d
12 q /var/tmp 1777 root root 30d
13
14 # Exclude namespace mountpoints created with PrivateTmp=yes
15 x /tmp/systemd-private-%b-*
16 X /tmp/systemd-private-%b-*/tmp
17 x /var/tmp/systemd-private-%b-*
18 X /var/tmp/systemd-private-%b-*/tmp
19
20 # Remove top-level private temporary directories on each boot
21 R! /tmp/systemd-private-*
22 R! /var/tmp/systemd-private-*