summaryrefslogtreecommitdiff
path: root/units/dev-hugepages.mount
diff options
context:
space:
mode:
Diffstat (limited to 'units/dev-hugepages.mount')
-rw-r--r--units/dev-hugepages.mount1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/dev-hugepages.mount b/units/dev-hugepages.mount
index d711faed55..882adb4545 100644
--- a/units/dev-hugepages.mount
+++ b/units/dev-hugepages.mount
@@ -12,6 +12,7 @@ Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
DefaultDependencies=no
Before=sysinit.target
ConditionPathExists=/sys/kernel/mm/hugepages
+ConditionCapability=CAP_SYS_ADMIN
[Mount]
What=hugetlbfs