chiark / gitweb /
man: document ConditionPathIsDirectory=
authorLennart Poettering <lennart@poettering.net>
Thu, 31 Mar 2011 22:42:57 +0000 (00:42 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 31 Mar 2011 22:42:57 +0000 (00:42 +0200)
TODO
man/systemd.unit.xml

diff --git a/TODO b/TODO
index c5222baaf02f872d25876dcef69147f739125fa4..651e646d352d93eb8a6f5d950d59daac477c5291 100644 (file)
--- a/TODO
+++ b/TODO
@@ -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
index d447c3a0a52dd471c8637a4aef5e3f95aefe1dac..47ddece3149a173b8a861296942a230a5302349a 100644 (file)
 
                         <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>
                                 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>