Merge pull request #2581 from evverx/dev-mqueue-cond

units: don't try to mount the mqueue fs if we lack the privileges for it
This commit is contained in:
Lennart Poettering 2016-02-11 13:55:59 +01:00
commit b8eefa012d

View file

@ -12,6 +12,7 @@ Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
DefaultDependencies=no DefaultDependencies=no
Before=sysinit.target Before=sysinit.target
ConditionPathExists=/proc/sys/fs/mqueue ConditionPathExists=/proc/sys/fs/mqueue
ConditionCapability=CAP_SYS_ADMIN
[Mount] [Mount]
What=mqueue What=mqueue