X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd.unit.xml;h=d38a00136651b552ba94b4c513e643a5654f3a2f;hp=dd32e5505cb67493e0b271d236d8b5d84a4ddf26;hb=bccc1d8859175f0927652d694796892c9e9c21d6;hpb=0aef434548f43ce2635620e7f97073aa3e23cf96
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index dd32e5505..d38a00136 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -485,8 +485,8 @@
argument. If
this unit will not be included in
snapshots. Defaults to
- for device and
- snapshot units,
+ for device and
+ snapshot units,
for the others.
@@ -607,8 +607,10 @@
ConditionPathExists=
+ ConditionPathExistsGlob=ConditionPathIsDirectory=ConditionDirectoryNotEmpty=
+ ConditionFileIsExecutable=ConditionKernelCommandLine=ConditionVirtualization=ConditionSecurity=
@@ -632,11 +634,22 @@
is prefixed with an exclamation mark
(!), the test is negated, and the unit
only started if the path does not
- exist. ConditionPathIsDirectory=
+ exist. ConditionPathExistsGlob=
+ work in a similar way, but checks for
+ the existance 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.
+ 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=
@@ -677,12 +690,12 @@
test may be negated by prepending an
exclamation mark.
ConditionSecurity=
- may be used to check whether the given security
- module is enabled on the system.
- Currently the only recognized value is
- selinux.
- The test may be negated by prepending an
- exclamation mark. Finally,
+ may be used to check whether the given
+ security module is enabled on the
+ system. Currently the only recognized
+ value is selinux.
+ The test may be negated by prepending
+ an exclamation mark. Finally,
ConditionNull= may
be used to add a constant condition
check value to the unit. It takes a