dryang / rpms / systemd

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