X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.unit.xml;h=e0aadf4cd30313236727136c09b7446a1ea70219;hb=71dc3ed1d95dfe246004018c2ca85156fc73c146;hp=bf22ca9bd0fdfe584b3f768f88476002bf3c0637;hpb=c0d6e764d107a81a6439c41edbe92790623ed7de;p=elogind.git diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index bf22ca9bd..e0aadf4cd 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -440,7 +440,7 @@ Configures requirement dependencies, very similar in style to Requires=, however - in addition to this behaviour it also + in addition to this behavior it also declares that this unit is stopped when any of the units listed suddenly disappears. Units can suddenly, @@ -755,6 +755,7 @@ ConditionPathIsMountPoint= ConditionPathIsReadWrite= ConditionDirectoryNotEmpty= + ConditionFileNotEmpty= ConditionFileIsExecutable= ConditionKernelCommandLine= ConditionVirtualization= @@ -825,21 +826,28 @@ (i.e. not mounted read-only). - ConditionFileIsExecutable= + ConditionDirectoryNotEmpty= is similar to ConditionPathExists= but verifies whether a certain path - exists, is a regular file and marked - executable. + exists and is a non-empty + directory. - ConditionDirectoryNotEmpty= + ConditionFileNotEmpty= is similar to ConditionPathExists= but verifies whether a certain path - exists and is a non-empty - directory. + exists and refers to a regular file + with a non-zero size. + + ConditionFileIsExecutable= + is similar to + ConditionPathExists= + but verifies whether a certain path + exists, is a regular file and marked + executable. - Similarly, + Similar, ConditionKernelCommandLine= may be used to check whether a specific kernel command line option is