From 742a862bb803641b78a40f6b498486397a321294 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 11 Sep 2012 01:29:46 +0200 Subject: condition: add ConditionFileNotEmpty= https://bugs.freedesktop.org/show_bug.cgi?id=54448 --- man/systemd.unit.xml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'man') 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 @@ ConditionPathIsMountPoint= ConditionPathIsReadWrite= ConditionDirectoryNotEmpty= + ConditionFileNotEmpty= ConditionFileIsExecutable= ConditionKernelCommandLine= ConditionVirtualization= @@ -825,21 +826,28 @@ (i.e. not mounted read-only). - ConditionFileIsExecutable= + ConditionDirectoryNotEmpty= is similar to ConditionPathExists= but verifies whether a certain path - exists, is a regular file and marked - executable. + exists and is a non-empty + directory. - ConditionDirectoryNotEmpty= + ConditionFileNotEmpty= is similar to ConditionPathExists= but verifies whether a certain path - exists and is a non-empty - directory. + exists and refers to a regular file + with a non-zero size. + + ConditionFileIsExecutable= + is similar to + ConditionPathExists= + but verifies whether a certain path + exists, is a regular file and marked + executable. - Similarly, + Similar, ConditionKernelCommandLine= may be used to check whether a specific kernel command line option is -- cgit v1.2.3-54-g00ecf