From 82e487c56d0947796793b6fd2836264328defe9f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 12 Jul 2011 04:25:02 +0200 Subject: unit: introduce ConditionFileIsExecutable= and use it where we check for a binary we'll spawn --- man/systemd.unit.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'man') diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index f482182151..d38a001366 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -610,6 +610,7 @@ ConditionPathExistsGlob= ConditionPathIsDirectory= ConditionDirectoryNotEmpty= + ConditionFileIsExecutable= ConditionKernelCommandLine= ConditionVirtualization= ConditionSecurity= @@ -642,7 +643,13 @@ is similar to ConditionPathExists= but verifies whether a certain path - exists and is a directory. + exists and is a + directory. ConditionFileIsExecutable= + is similar to + ConditionPathExists= + but verifies whether a certain path + exists, is a regular file and marked + executable. ConditionDirectoryNotEmpty= is similar to ConditionPathExists= -- cgit v1.2.3-54-g00ecf