summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorJan Synacek <jsynacek@redhat.com>2019-01-22 10:28:42 +0100
committerThe Plumber <50238977+systemd-rhel-bot@users.noreply.github.com>2021-08-06 12:23:28 +0200
commitc54ec17a683866f8e74f0d78c19369a6e86e46f3 (patch)
tree4468d34cdf9598b6e3ea18ddaf5b93e2365ac30f /units
parent209af66ef66a67a9cafa5a1d6364ce436cd593aa (diff)
downloadsystemd-c54ec17a683866f8e74f0d78c19369a6e86e46f3.tar.gz
units: add [Install] section to tmp.mount
RHEL-only Related: #1959826 (cherry picked from commit bb3d205bea1c83cbd0e27b504f5f1faa884fb602)
Diffstat (limited to 'units')
-rw-r--r--units/tmp.mount4
1 files changed, 4 insertions, 0 deletions
diff --git a/units/tmp.mount b/units/tmp.mount
index 516bd1621c..fc1812111e 100644
--- a/units/tmp.mount
+++ b/units/tmp.mount
@@ -23,3 +23,7 @@ What=tmpfs
Where=/tmp
Type=tmpfs
Options=mode=1777,strictatime,nosuid,nodev,size=50%,nr_inodes=400k
+
+# Make 'systemctl enable tmp.mount' work:
+[Install]
+WantedBy=local-fs.target