2020-11-09 12:23:58 +08:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2017-11-19 00:35:03 +08:00
|
|
|
#
|
2012-03-27 23:13:05 +08:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 06:20:58 +08: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 23:13:05 +08:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
2021-06-29 15:47:53 +08:00
|
|
|
Description=Temporary Directory /tmp
|
2019-02-19 00:48:34 +08:00
|
|
|
Documentation=https://systemd.io/TEMPORARY_DIRECTORIES
|
|
|
|
Documentation=man:file-hierarchy(7)
|
2024-05-28 20:38:22 +08:00
|
|
|
Documentation=https://systemd.io/API_FILE_SYSTEMS
|
2014-07-01 03:44:05 +08:00
|
|
|
ConditionPathIsSymbolicLink=!/tmp
|
2012-10-24 04:33:00 +08:00
|
|
|
DefaultDependencies=no
|
|
|
|
Conflicts=umount.target
|
|
|
|
Before=local-fs.target umount.target
|
2017-10-26 23:24:55 +08:00
|
|
|
After=swap.target
|
2012-03-27 23:13:05 +08:00
|
|
|
|
|
|
|
[Mount]
|
|
|
|
What=tmpfs
|
|
|
|
Where=/tmp
|
|
|
|
Type=tmpfs
|
2022-02-23 00:29:42 +08:00
|
|
|
Options=mode=1777,strictatime,nosuid,nodev,size=50%%,nr_inodes=1m
|