summaryrefslogtreecommitdiff
path: root/man/systemd.unit.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-11 01:29:46 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-11 01:29:46 +0200
commit742a862bb803641b78a40f6b498486397a321294 (patch)
treed4a3f3d4fb4e8e6d4a25f8e597f15ce6d7fcf7bf /man/systemd.unit.xml
parentb5b46d599524341ddd7407e5dff1021af8ff5089 (diff)
condition: add ConditionFileNotEmpty=
https://bugs.freedesktop.org/show_bug.cgi?id=54448
Diffstat (limited to 'man/systemd.unit.xml')
-rw-r--r--man/systemd.unit.xml22
1 files changed, 15 insertions, 7 deletions
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index bf22ca9bd0..00f6066717 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -755,6 +755,7 @@
<term><varname>ConditionPathIsMountPoint=</varname></term>
<term><varname>ConditionPathIsReadWrite=</varname></term>
<term><varname>ConditionDirectoryNotEmpty=</varname></term>
+ <term><varname>ConditionFileNotEmpty=</varname></term>
<term><varname>ConditionFileIsExecutable=</varname></term>
<term><varname>ConditionKernelCommandLine=</varname></term>
<term><varname>ConditionVirtualization=</varname></term>
@@ -825,21 +826,28 @@
(i.e. not mounted
read-only).</para>
- <para><varname>ConditionFileIsExecutable=</varname>
+ <para><varname>ConditionDirectoryNotEmpty=</varname>
is similar to
<varname>ConditionPathExists=</varname>
but verifies whether a certain path
- exists, is a regular file and marked
- executable.</para>
+ exists and is a non-empty
+ directory.</para>
- <para><varname>ConditionDirectoryNotEmpty=</varname>
+ <para><varname>ConditionFileNotEmpty=</varname>
is similar to
<varname>ConditionPathExists=</varname>
but verifies whether a certain path
- exists and is a non-empty
- directory.</para>
+ exists and refers to a regular file
+ with a non-zero size.</para>
+
+ <para><varname>ConditionFileIsExecutable=</varname>
+ is similar to
+ <varname>ConditionPathExists=</varname>
+ but verifies whether a certain path
+ exists, is a regular file and marked
+ executable.</para>
- <para>Similarly,
+ <para>Similar,
<varname>ConditionKernelCommandLine=</varname>
may be used to check whether a
specific kernel command line option is