2020-11-09 04:23:58 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2017-11-18 16:35:03 +00:00
|
|
|
#
|
2012-03-27 15:13:05 +00:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-11 22:20:58 +00:00
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
2012-03-27 15:13:05 +00:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
2021-06-29 07:47:53 +00:00
|
|
|
Description=Temporary Directory /tmp
|
2019-02-18 16:48:34 +00:00
|
|
|
Documentation=https://systemd.io/TEMPORARY_DIRECTORIES
|
|
|
|
Documentation=man:file-hierarchy(7)
|
2017-06-29 02:54:12 +00:00
|
|
|
Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
|
2014-06-30 19:44:05 +00:00
|
|
|
ConditionPathIsSymbolicLink=!/tmp
|
2012-10-23 20:33:00 +00:00
|
|
|
DefaultDependencies=no
|
|
|
|
Conflicts=umount.target
|
|
|
|
Before=local-fs.target umount.target
|
2017-10-26 15:24:55 +00:00
|
|
|
After=swap.target
|
2012-03-27 15:13:05 +00:00
|
|
|
|
|
|
|
[Mount]
|
|
|
|
What=tmpfs
|
|
|
|
Where=/tmp
|
|
|
|
Type=tmpfs
|
2022-02-22 16:29:42 +00:00
|
|
|
Options=mode=1777,strictatime,nosuid,nodev,size=50%%,nr_inodes=1m
|