1 # This file is part of systemd.
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.
8 # See tmpfiles.d(5) for details
10 # Clear tmp directories separately, to make them easier to override
11 d /tmp 1777 root root 10d
12 d /var/tmp 1777 root root 30d
14 # Exclude namespace mountpoints created with PrivateTmp=yes
15 x /tmp/systemd-*.service-*
16 x /var/tmp/systemd-*.service-*
17 X /tmp/systemd-*.service-*/tmp
18 X /var/tmp/systemd-*.service-*/tmp
19 x /tmp/systemd-*.socket-*
20 x /var/tmp/systemd-*.socket-*
21 X /tmp/systemd-*.socket-*/tmp
22 X /var/tmp/systemd-*.socket-*/tmp
23 x /tmp/systemd-*.mount-*
24 x /var/tmp/systemd-*.mount-*
25 X /tmp/systemd-*.mount-*/tmp
26 X /var/tmp/systemd-*.mount-*/tmp
27 x /tmp/systemd-*.swap-*
28 x /var/tmp/systemd-*.swap-*
29 X /tmp/systemd-*.swap-*/tmp
30 X /var/tmp/systemd-*.swap-*/tmp
31 # keep those for compatibility during upgrades
32 x /tmp/systemd-private-*
33 x /var/tmp/systemd-private-*
34 X /tmp/systemd-private-*/tmp
35 X /var/tmp/systemd-private-*/tmp