valeriyvdovin / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

Blame SOURCES/0001-units-add-Install-section-to-tmp.mount.patch

65878a
From b4aeab33ff172b608930daf77a6f7af47bf2fdc9 Mon Sep 17 00:00:00 2001
65878a
From: Michal Schmidt <mschmidt@redhat.com>
65878a
Date: Fri, 15 Feb 2013 09:07:57 +0100
65878a
Subject: [PATCH] units: add [Install] section to tmp.mount
65878a
65878a
Change-Id: I2e6d129de00a9afaf7558006c886866f64394c29
65878a
Related: #908253
65878a
---
65878a
 units/tmp.mount | 4 ++++
65878a
 1 file changed, 4 insertions(+)
65878a
65878a
diff --git a/units/tmp.mount b/units/tmp.mount
65878a
index 99a3ba3..9e4803a 100644
65878a
--- a/units/tmp.mount
65878a
+++ b/units/tmp.mount
65878a
@@ -18,3 +18,7 @@ What=tmpfs
65878a
 Where=/tmp
65878a
 Type=tmpfs
65878a
 Options=mode=1777,strictatime
65878a
+
65878a
+# Make 'systemctl enable tmp.mount' work:
65878a
+[Install]
65878a
+WantedBy=local-fs.target