chiark / gitweb /
resolved: Do not add .busname dependencies, when compiling without kdbus.
[elogind.git] / units / dev-hugepages.mount
index 9381167c8392636ef5e3144036c9a9a32897d7fa..882adb4545ae5b1bcd7bc7fe5bd3bab286d141f1 100644 (file)
@@ -8,9 +8,11 @@
 [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