X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.unit.xml;h=00f60667175db2c63938cf05ab0fe6e31e70c249;hb=b51fc639f01ee6194af3e7e944a79accce474fe1;hp=bf22ca9bd0fdfe584b3f768f88476002bf3c0637;hpb=c0d6e764d107a81a6439c41edbe92790623ed7de;p=elogind.git diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index bf22ca9bd..00f606671 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -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