[systemd-devel] [PATCH] man: note that entire sections can now be ignored

Michael Marineau michael.marineau at coreos.com
Sat May 17 16:09:08 PDT 2014


Prefixing a section name with "X-" will cause it and all of its contents
to be silently ignored as of commit 342aea19.
---
 man/systemd.unit.xml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index 157530b..e903156 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -139,10 +139,12 @@
                 <para>Unit files may contain additional options on top
                 of those listed here. If systemd encounters an unknown
                 option, it will write a warning log message but
-                continue loading the unit. If an option is prefixed
-                with <option>X-</option>, it is ignored completely by
-                systemd. Applications may use this to include
-                additional information in the unit files.</para>
+                continue loading the unit. If an option or section name
+                is prefixed with <option>X-</option>, it is ignored
+                completely by systemd. Options within an ignored
+                section do not need the prefix. Applications may use
+                this to include additional information in the unit
+                files.</para>
 
                 <para>Boolean arguments used in unit files can be
                 written in various formats. For positive settings the
-- 
1.8.5.5



More information about the systemd-devel mailing list