X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.unit.xml;h=5460ebeb2f1923755cbcfd2b625cce11d9c56178;hb=db019b8dd206844dcf5fde661256dc71fcc06fef;hp=ff199e43cb531cad75be8d785f0faba798306c52;hpb=e2130f189a543c859b569985d8670132df40673e;p=elogind.git diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index ff199e43c..5460ebeb2 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -561,9 +561,11 @@ ConditionPathExists= + ConditionPathIsDirectory= ConditionDirectoryNotEmpty= ConditionKernelCommandLine= ConditionVirtualization= + ConditionSecurity= ConditionNull= Before starting a unit @@ -584,10 +586,15 @@ is prefixed with an exclamation mark (!), the test is negated, and the unit only started if the path does not - exist. ConditionDirectoryNotEmpty= + exist. ConditionPathIsDirectory= is similar to ConditionPathExists= - but verifies whether a certain path is + but verifies whether a certain path + exists and is a directory. + ConditionDirectoryNotEmpty= + is similar to + ConditionPathExists= + but verifies whether a certain path exists and is a non-empty directory. Similarly ConditionKernelCommandLine= @@ -618,9 +625,17 @@ microsoft, oracle, xen, + pidns, openvz to test against a specific implementation. The test may be negated by prepending an + exclamation mark. + ConditionSecurity= + may be used to check whether the given security + module is enabled on the system. + Currently the only recognized value is + selinux. + The test may be negated by prepending an exclamation mark. Finally, ConditionNull= may be used to add a constant condition