diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-07-12 04:25:02 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-07-12 04:25:02 +0200 |
commit | 82e487c56d0947796793b6fd2836264328defe9f (patch) | |
tree | 2dfd5d979d064c7bc116cfca28ea1e1df65eac70 /man/systemd.unit.xml | |
parent | 3611581ebdabbe3a1d6a9b5310a0b59792279d7d (diff) |
unit: introduce ConditionFileIsExecutable= and use it where we check for a binary we'll spawn
Diffstat (limited to 'man/systemd.unit.xml')
-rw-r--r-- | man/systemd.unit.xml | 9 |
1 files changed, 8 insertions, 1 deletions
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 @@ <term><varname>ConditionPathExistsGlob=</varname></term> <term><varname>ConditionPathIsDirectory=</varname></term> <term><varname>ConditionDirectoryNotEmpty=</varname></term> + <term><varname>ConditionFileIsExecutable=</varname></term> <term><varname>ConditionKernelCommandLine=</varname></term> <term><varname>ConditionVirtualization=</varname></term> <term><varname>ConditionSecurity=</varname></term> @@ -642,7 +643,13 @@ is similar to <varname>ConditionPathExists=</varname> but verifies whether a certain path - exists and is a directory. + exists and is a + directory. <varname>ConditionFileIsExecutable=</varname> + is similar to + <varname>ConditionPathExists=</varname> + but verifies whether a certain path + exists, is a regular file and marked + executable. <varname>ConditionDirectoryNotEmpty=</varname> is similar to <varname>ConditionPathExists=</varname> |