[systemd-devel] [PATCH] man/systemctl: document enable on masked units

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed Oct 8 05:34:22 PDT 2014


On Wed, Oct 08, 2014 at 08:04:52AM +0200, Jan Synacek wrote:
> ---
>  man/systemctl.xml | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/man/systemctl.xml b/man/systemctl.xml
> index b28a3b7..d2fa3b3 100644
> --- a/man/systemctl.xml
> +++ b/man/systemctl.xml
> @@ -924,6 +924,9 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
>              the system, or for all future logins of all users, or only this
>              boot.  Note that in the last case, no systemd daemon
>              configuration is reloaded.</para>
> +
> +            <para>Using <command>enable</command> on masked units
> +            results in an error.</para>
>            </listitem>
>          </varlistentry>
>  
> @@ -1080,8 +1083,8 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
>              <filename>/dev/null</filename>, making it impossible to
>              start them. This is a stronger version of
>              <command>disable</command>, since it prohibits all kinds of
> -            activation of the unit, including manual activation. Use
> -            this option with care. This honors the
> +            activation of the unit, including enablement and manual
> +            activation. Use this option with care. This honors the
>              <option>--runtime</option> option to only mask temporarily
>              until the next reboot of the system.</para>
>            </listitem>
> -- 
Yep, applied.

Zbyszek


More information about the systemd-devel mailing list