diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2014-06-10 16:14:13 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2014-06-10 16:14:13 +0100 |
commit | 745c703514a9388cd034920f4c33f9e503928fb5 (patch) | |
tree | f0078a78edd558e43bfbb22f173930b16bfdf694 /docs | |
parent | 18786eda7fb6352a99085af077d28efdcb6884b8 (diff) | |
download | rabbitmq-server-745c703514a9388cd034920f4c33f9e503928fb5.tar.gz |
Add online flag. Get the running broker to read its own plugins file rather than tell it which plugins to run. This necessitates various bug fixes to rabbit_plugins.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/rabbitmq-plugins.1.xml | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/docs/rabbitmq-plugins.1.xml b/docs/rabbitmq-plugins.1.xml index d3268af3..e891969f 100644 --- a/docs/rabbitmq-plugins.1.xml +++ b/docs/rabbitmq-plugins.1.xml @@ -133,7 +133,7 @@ </varlistentry> <varlistentry> - <term><cmdsynopsis><command>enable</command> <arg choice="opt">--offline</arg> <arg choice="req"><replaceable>plugin</replaceable> ...</arg></cmdsynopsis></term> + <term><cmdsynopsis><command>enable</command> <arg choice="opt">--offline</arg> <arg choice="opt">--online</arg> <arg choice="req"><replaceable>plugin</replaceable> ...</arg></cmdsynopsis></term> <listitem> <variablelist> <varlistentry> @@ -141,6 +141,10 @@ <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>One or more plugins to enable.</para></listitem> </varlistentry> @@ -148,8 +152,12 @@ <para> Enables the specified plugins and all their dependencies. This will update the enabled plugins file - and then connect to the broker and ensure it is running - all enabled plugins. + 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. </para> <para role="example-prefix">For example:</para> @@ -163,7 +171,7 @@ </varlistentry> <varlistentry> - <term><cmdsynopsis><command>disable</command> <arg choice="opt">--offline</arg> <arg choice="req"><replaceable>plugin</replaceable> ...</arg></cmdsynopsis></term> + <term><cmdsynopsis><command>disable</command> <arg choice="opt">--offline</arg> <arg choice="opt">--online</arg> <arg choice="req"><replaceable>plugin</replaceable> ...</arg></cmdsynopsis></term> <listitem> <variablelist> <varlistentry> @@ -171,6 +179,10 @@ <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>One or more plugins to disable.</para></listitem> </varlistentry> @@ -178,8 +190,12 @@ <para> Disables the specified plugins and all their dependencies. This will update the enabled plugins file - and then connect to the broker and ensure it is running - all enabled plugins. + 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. </para> <para role="example-prefix">For example:</para> |