]>
Commit | Line | Data |
---|---|---|
1 | # SPDX-License-Identifier: LGPL-2.1+ | |
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] | |
11 | Description=Temporary Directory (/tmp) | |
12 | Documentation=https://systemd.io/TEMPORARY_DIRECTORIES | |
13 | Documentation=man:file-hierarchy(7) | |
14 | Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems | |
15 | ConditionPathIsSymbolicLink=!/tmp | |
16 | DefaultDependencies=no | |
17 | Conflicts=umount.target | |
18 | Before=local-fs.target umount.target | |
19 | After=swap.target | |
20 | ||
21 | [Mount] | |
22 | What=tmpfs | |
23 | Where=/tmp | |
24 | Type=tmpfs | |
25 | Options=mode=1777,strictatime,nosuid,nodev |