[systemd-devel] [PATCH 4/4] man: document ConditionSELinux
Michal Schmidt
mschmidt at redhat.com
Sun Apr 3 07:22:24 PDT 2011
---
man/systemd.unit.xml | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index 47ddece..e255f7a 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -565,6 +565,7 @@
<term><varname>ConditionDirectoryNotEmpty=</varname></term>
<term><varname>ConditionKernelCommandLine=</varname></term>
<term><varname>ConditionVirtualization=</varname></term>
+ <term><varname>ConditionSELinux=</varname></term>
<term><varname>ConditionNull=</varname></term>
<listitem><para>Before starting a unit
@@ -628,6 +629,17 @@
<varname>openvz</varname> to test
against a specific implementation. The
test may be negated by prepending an
+ exclamation mark.
+ <varname>ConditionSELinux=</varname>
+ may be used to check the SELinux state
+ of the system. Takes either a
+ boolean value to check whether SELinux
+ is enabled or disabled, or one of
+ <varname>disabled</varname>,
+ <varname>permissive</varname>,
+ <varname>enforcing</varname> to test
+ for the specific SELinux mode. The test
+ may be negated by prepending an
exclamation mark. Finally,
<varname>ConditionNull=</varname> may
be used to add a constant condition
More information about the systemd-devel
mailing list