X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.unit.xml;h=5460ebeb2f1923755cbcfd2b625cce11d9c56178;hb=9d8677dad260d7dc20146f8affe3d376daff7c19;hp=d447c3a0a52dd471c8637a4aef5e3f95aefe1dac;hpb=28cf382a0afd10d0e2a71d152f0df4909e90d159;p=elogind.git diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index d447c3a0a..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= @@ -622,6 +629,13 @@ 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