X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.unit.xml;h=f4764f95579960208ff3f165ef3b709fa3223a55;hb=7712ea6da6833a9e6b5a2810eb8b94e527069e1b;hp=b222f9f064ef1deef85f71f5a8a93d8d1af75b25;hpb=0e89268b285657bf1b52cebb12fe42b5ac630582;p=elogind.git diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index b222f9f06..f4764f955 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -665,6 +665,8 @@ ConditionPathExists= ConditionPathExistsGlob= ConditionPathIsDirectory= + ConditionPathIsSymbolicLink= + ConditionPathIsMountPoint= ConditionDirectoryNotEmpty= ConditionFileIsExecutable= ConditionKernelCommandLine= @@ -679,7 +681,7 @@ a file existence condition can be checked before a unit is started. If the specified absolute path name does - not exist startup of a unit will not + not exist, startup of a unit will not actually happen, however the unit is still useful for ordering purposes in this case. The condition is checked at @@ -689,10 +691,11 @@ ConditionPathExists= is prefixed with an exclamation mark (!), the test is negated, and the unit - only started if the path does not - exist. ConditionPathExistsGlob= - work in a similar way, but checks for - the existance of at least one file or + is only started if the path does not + 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= @@ -700,7 +703,17 @@ ConditionPathExists= but verifies whether a certain path exists and is a - directory. ConditionFileIsExecutable= + 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 @@ -773,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.