From: Lennart Poettering Date: Thu, 31 Mar 2011 22:42:57 +0000 (+0200) Subject: man: document ConditionPathIsDirectory= X-Git-Tag: v22~2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=c61e77d3eab2385fc7bbae0edef6b3c583a70ca8;p=elogind.git man: document ConditionPathIsDirectory= --- diff --git a/TODO b/TODO index c5222baaf..651e646d3 100644 --- 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 diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index d447c3a0a..47ddece31 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -561,6 +561,7 @@ ConditionPathExists= + ConditionPathIsDirectory= ConditionDirectoryNotEmpty= ConditionKernelCommandLine= ConditionVirtualization= @@ -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. 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=