summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-04-01 00:42:57 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-01 00:42:57 +0200
commitc61e77d3eab2385fc7bbae0edef6b3c583a70ca8 (patch)
tree38324bccac26eb92ce4b2d898d67cee3040edd31
parent43515ba0cecda2be8244a9f75078ac4a561092d9 (diff)
downloadsystemd-c61e77d3eab2385fc7bbae0edef6b3c583a70ca8.tar.gz
man: document ConditionPathIsDirectory=
-rw-r--r--TODO2
-rw-r--r--man/systemd.unit.xml10
2 files changed, 8 insertions, 4 deletions
diff --git a/TODO b/TODO
index c5222baaf0..651e646d35 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 d447c3a0a5..47ddece314 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -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>