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:
commit
b8eefa012d
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue