X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.unit.xml;h=f4764f95579960208ff3f165ef3b709fa3223a55;hb=d418f857f87f3f381f52f6ee17f2fad6e36aca86;hp=a94476acb89e788ba07c1e2eac75942f69b6afee;hpb=418112a296e898cbd7fe8585995ae60936368327;p=elogind.git diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index a94476acb..f4764f955 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -665,6 +665,8 @@ ConditionPathExists= ConditionPathExistsGlob= ConditionPathIsDirectory= + ConditionPathIsSymbolicLink= + ConditionPathIsMountPoint= ConditionDirectoryNotEmpty= ConditionFileIsExecutable= ConditionKernelCommandLine= @@ -690,21 +692,33 @@ is prefixed with an exclamation mark (!), the test is negated, and the unit is only started if the path does not - exist. The test follows symlinks. + exist. ConditionPathExistsGlob= works in a similar way, but checks for the existence of at least one file or directory matching the specified - globbing pattern. - ConditionPathIsDirectory= - is similar to ConditionPathExists= - but verifies whether a certain path exists and - is a directory. It does not follow symlinks. - ConditionFileIsExecutable= - is similar to ConditionPathExists= - but verifies whether a certain path exists, - is a regular file and marked executable. - It follows symlinks. + globbing + pattern. ConditionPathIsDirectory= + is similar to + ConditionPathExists= + but verifies whether a certain path + exists and is a + directory. ConditionPathIsSymbolicLink= + is similar to + ConditionPathExists= + but verifies whether a certain path + exists and is a + symbolic link. ConditionPathIsMountPoint= + is similar to + ConditionPathExists= + but verifies whether a certain path + exists and is a mount + point. ConditionFileIsExecutable= + is similar to + ConditionPathExists= + but verifies whether a certain path + exists, is a regular file and marked + executable. ConditionDirectoryNotEmpty= is similar to ConditionPathExists= @@ -772,7 +786,9 @@ prefix an argument with the pipe symbol and an exclamation mark the pipe symbol must be passed first, the - exclamation second. + exclamation second. Except for + ConditionPathIsSymbolicLink=, + all path checks follow symlinks.