From 36af55d99711e9accdf42d8a7df60e069f4086c0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 15 Nov 2010 20:06:49 +0100 Subject: unit: introduce ConditionDirectoryNotEmpty= --- man/systemd.unit.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'man/systemd.unit.xml') diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 39862cf7c8..b29473afa3 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -573,6 +573,7 @@ ConditionPathExists= + ConditionDirectoryNotEmpty= ConditionKernelCommandLine= ConditionNull= @@ -594,7 +595,12 @@ is prefixed with an exclamation mark (!), the test is negated, and the unit only started if the path does not - exist. Similarly + exist. ConditionDirectoryNotEmpty= + is similar to + ConditionPathExists= + but verifies whether a cetrain path is + exists and is a non-empty + directory. Similarly ConditionKernelCommandLine= may be used to check whether a specific kernel command line option is -- cgit v1.2.3-54-g00ecf