summaryrefslogtreecommitdiff
path: root/units/tmp.mount
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-08-09 22:13:41 +0900
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-08-09 09:13:41 -0400
commit4429c69f8da0c9ea892541a50d5c5f4ac1b42767 (patch)
treeab0d2fe30d403936fe309adc9848c93e1c192bdf /units/tmp.mount
parentc7f6ca9379279affa8f22d15fa13063491f86a49 (diff)
downloadsystemd-4429c69f8da0c9ea892541a50d5c5f4ac1b42767.tar.gz
systemd-4429c69f8da0c9ea892541a50d5c5f4ac1b42767.tar.bz2
systemd-4429c69f8da0c9ea892541a50d5c5f4ac1b42767.zip
units: do not perform m4 if not necessary (#6575)
Diffstat (limited to 'units/tmp.mount')
-rw-r--r--units/tmp.mount22
1 files changed, 22 insertions, 0 deletions
diff --git a/units/tmp.mount b/units/tmp.mount
new file mode 100644
index 0000000000..3a333d22ec
--- /dev/null
+++ b/units/tmp.mount
@@ -0,0 +1,22 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# 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
+# (at your option) any later version.
+
+[Unit]
+Description=Temporary Directory (/tmp)
+Documentation=man:hier(7)
+Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
+ConditionPathIsSymbolicLink=!/tmp
+DefaultDependencies=no
+Conflicts=umount.target
+Before=local-fs.target umount.target
+After=swap.target
+
+[Mount]
+What=tmpfs
+Where=/tmp
+Type=tmpfs
+Options=mode=1777,strictatime,nosuid,nodev