1#  SPDX-License-Identifier: LGPL-2.1-or-later
2#
3#  This file is part of systemd.
4#
5#  systemd is free software; you can redistribute it and/or modify it
6#  under the terms of the GNU Lesser General Public License as published by
7#  the Free Software Foundation; either version 2.1 of the License, or
8#  (at your option) any later version.
9
10[Unit]
11Description=Temporary Directory /tmp
12Documentation=https://systemd.io/TEMPORARY_DIRECTORIES
13Documentation=man:file-hierarchy(7)
14Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
15ConditionPathIsSymbolicLink=!/tmp
16DefaultDependencies=no
17Conflicts=umount.target
18Before=local-fs.target umount.target
19After=swap.target
20
21[Mount]
22What=tmpfs
23Where=/tmp
24Type=tmpfs
25Options=mode=1777,strictatime,nosuid,nodev,size=50%%,nr_inodes=1m
26