man: document ConditionPathIsDirectory=

This commit is contained in:
Lennart Poettering 2011-04-01 00:42:57 +02:00
parent 43515ba0ce
commit c61e77d3ea
2 changed files with 8 additions and 4 deletions

2
TODO
View File

@ -23,8 +23,6 @@ F15:
* fix alsa mixer restore to not print error when no config is stored
* ConditionDirectoryNotEmpty= needs to be documented
Features:
* tmpfiles should allow two identical lines

View File

@ -561,6 +561,7 @@
<varlistentry>
<term><varname>ConditionPathExists=</varname></term>
<term><varname>ConditionPathIsDirectory=</varname></term>
<term><varname>ConditionDirectoryNotEmpty=</varname></term>
<term><varname>ConditionKernelCommandLine=</varname></term>
<term><varname>ConditionVirtualization=</varname></term>
@ -584,10 +585,15 @@
is prefixed with an exclamation mark
(!), the test is negated, and the unit
only started if the path does not
exist. <varname>ConditionDirectoryNotEmpty=</varname>
exist. <varname>ConditionPathIsDirectory=</varname>
is similar to
<varname>ConditionPathExists=</varname>
but verifies whether a certain path is
but verifies whether a certain path
exists and is a directory.
<varname>ConditionDirectoryNotEmpty=</varname>
is similar to
<varname>ConditionPathExists=</varname>
but verifies whether a certain path
exists and is a non-empty
directory. Similarly
<varname>ConditionKernelCommandLine=</varname>