daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
803fb7
From 6e9187c22c22872e8b0ade7a0e5603895797ede2 Mon Sep 17 00:00:00 2001
803fb7
From: Michal Schmidt <mschmidt@redhat.com>
803fb7
Date: Fri, 15 Feb 2013 09:07:57 +0100
803fb7
Subject: [PATCH] units: add [Install] section to tmp.mount
803fb7
803fb7
Change-Id: I2e6d129de00a9afaf7558006c886866f64394c29
803fb7
Related: #908253
803fb7
803fb7
Cherry-picked from: b4aeab33
803fb7
Resolves: #1199644
803fb7
---
803fb7
 units/tmp.mount | 4 ++++
803fb7
 1 file changed, 4 insertions(+)
803fb7
803fb7
diff --git a/units/tmp.mount b/units/tmp.mount
803fb7
index 00a0d2872..af0cf4a55 100644
803fb7
--- a/units/tmp.mount
803fb7
+++ b/units/tmp.mount
803fb7
@@ -19,3 +19,7 @@ What=tmpfs
803fb7
 Where=/tmp
803fb7
 Type=tmpfs
803fb7
 Options=mode=1777,strictatime
803fb7
+
803fb7
+# Make 'systemctl enable tmp.mount' work:
803fb7
+[Install]
803fb7
+WantedBy=local-fs.target