chiark / gitweb /
resolved: Do not add .busname dependencies, when compiling without kdbus.
[elogind.git] / units / dev-hugepages.mount
index fcc50736e0d767e621c8cd39fe714ee95a8d40cc..882adb4545ae5b1bcd7bc7fe5bd3bab286d141f1 100644 (file)
@@ -7,9 +7,12 @@
 
 [Unit]
 Description=Huge Pages File System
+Documentation=https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt
+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