chiark / gitweb /
units: add tmp.mount
[elogind.git] / units / tmp.mount
diff --git a/units/tmp.mount b/units/tmp.mount
new file mode 100644 (file)
index 0000000..9752ef8
--- /dev/null
@@ -0,0 +1,19 @@
+#  This file is part of systemd.
+#
+#  systemd is free software; you can redistribute it and/or modify it
+#  under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; either version 2 of the License, or
+#  (at your option) any later version.
+
+[Unit]
+Description=Temporary Directory
+Before=local-fs.target
+
+[Mount]
+What=tmpfs
+Where=/tmp
+Type=tmpfs
+Options=mode=1777
+
+[Install]
+WantedBy=local-fs.target