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

Tom Gundersen teg at jklm.no
Sun May 18 02:33:11 PDT 2014


Applied. Thanks!

-t

On Sun, May 18, 2014 at 1:09 AM, Michael Marineau
<michael.marineau at coreos.com> wrote:
> 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
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list