diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2014-06-18 17:08:35 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2014-06-18 17:08:35 +0100 |
| commit | dc20aebe8e0b11b07ab1d04077395c15a1795869 (patch) | |
| tree | 114f9896f92e9c696d1f9dd3a68cd96da7f749a9 /docs | |
| parent | 2bbd5a7e862e7c83471701b4dda4d639ad1d3f52 (diff) | |
| download | rabbitmq-server-git-dc20aebe8e0b11b07ab1d04077395c15a1795869.tar.gz | |
rabbitmq-plugins set.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/rabbitmq-plugins.1.xml | 64 |
1 files changed, 48 insertions, 16 deletions
diff --git a/docs/rabbitmq-plugins.1.xml b/docs/rabbitmq-plugins.1.xml index e891969fa4..fb5f8e2775 100644 --- a/docs/rabbitmq-plugins.1.xml +++ b/docs/rabbitmq-plugins.1.xml @@ -63,6 +63,16 @@ enabled. Implicitly enabled plugins are automatically disabled again when they are no longer required. </para> + + <para> + The <command>enable</command>, <command>disable</command> and + <command>set</command> commands will update the plugins file and + then attempt to connect to the broker and ensure it is running + all enabled plugins. By default if it is not possible to connect + to the running broker (for example if it is stopped) then a + warning is displayed. Specify <command>--online</command> or + <command>--offline</command> to change this behaviour. + </para> </refsect1> <refsect1> @@ -150,14 +160,7 @@ </varlistentry> </variablelist> <para> - Enables the specified plugins and all their - dependencies. This will update the enabled plugins file - and then attempt to connect to the broker and ensure it is - running all enabled plugins. By default if it is not - possible to connect to the running broker (for example if - it is stopped) then a warning is displayed. Specify - <command>--online</command> or - <command>--offline</command> to change this. + Enables the specified plugins and all their dependencies. </para> <para role="example-prefix">For example:</para> @@ -188,14 +191,7 @@ </varlistentry> </variablelist> <para> - Disables the specified plugins and all their - dependencies. This will update the enabled plugins file - and then attempt to connect to the broker and ensure it is - running all enabled plugins. By default if it is not - possible to connect to the running broker (for example if - it is stopped) then a warning is displayed. Specify - <command>--online</command> or - <command>--offline</command> to change this. + Disables the specified plugins and all their dependencies. </para> <para role="example-prefix">For example:</para> @@ -206,6 +202,42 @@ </para> </listitem> </varlistentry> + + <varlistentry> + <term><cmdsynopsis><command>set</command> <arg choice="opt">--offline</arg> <arg choice="opt">--online</arg> <arg choice="req"><replaceable>plugin</replaceable> ...</arg></cmdsynopsis></term> + <listitem> + <variablelist> + <varlistentry> + <term>--offline</term> + <listitem><para>Just modify the enabled plugins file.</para></listitem> + </varlistentry> + <varlistentry> + <term>--online</term> + <listitem><para>Treat failure to connect to the running broker as fatal.</para></listitem> + </varlistentry> + <varlistentry> + <term>plugin</term> + <listitem><para>Zero or more plugins to enable.</para></listitem> + </varlistentry> + </variablelist> + <para> + Enables the specified plugins and all their + dependencies. Unlike <command>rabbitmq-plugins + enable</command> this command ignores and overwrites any + existing plugin configuration. <command>rabbitmq-plugins + set</command> with no plugin arguments is a legal command + meaning "disable all plugins". + </para> + + <para role="example-prefix">For example:</para> + <screen role="example">rabbitmq-plugins set rabbitmq_management</screen> + <para role="example"> + This command enables the <command>management</command> + plugin and its dependencies and disables everything else. + </para> + </listitem> + </varlistentry> + </variablelist> </refsect1> |
