daandemeyer / rpms / systemd

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