chiark / gitweb /
man: note that entire sections can now be ignored
authorMichael Marineau <michael.marineau@coreos.com>
Sat, 17 May 2014 23:09:08 +0000 (16:09 -0700)
committerTom Gundersen <teg@jklm.no>
Sun, 18 May 2014 09:32:51 +0000 (11:32 +0200)
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

index 157530be38a3deae624ccb6bb82660856167e935..e9031567d2880b32a64c29f43d64fbf7d4dcaafb 100644 (file)
                 <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