summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2011-05-16 21:48:10 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2011-05-16 21:48:10 +0100
commit790ef6bc65d86fd1f1ab6c99cf43c7652af78fe1 (patch)
tree9f380ab88c84a958520da0c30df188e4068d8892 /docs
parentdcb584730bfc4a8b452b8b4a745970d544a2b039 (diff)
parenteb545e83348a1e3e06c9030d936735c31aa06b2d (diff)
downloadrabbitmq-server-git-790ef6bc65d86fd1f1ab6c99cf43c7652af78fe1.tar.gz
merge bug23939 into default
Diffstat (limited to 'docs')
-rw-r--r--docs/rabbitmqctl.1.xml61
1 files changed, 61 insertions, 0 deletions
diff --git a/docs/rabbitmqctl.1.xml b/docs/rabbitmqctl.1.xml
index 3550e5eaef..628691589b 100644
--- a/docs/rabbitmqctl.1.xml
+++ b/docs/rabbitmqctl.1.xml
@@ -1264,6 +1264,67 @@
</varlistentry>
</variablelist>
</refsect2>
+
+ <refsect2>
+ <title>Configuration variables</title>
+ <para>
+ Some configuration values can be changed at run time. Note
+ that this does not apply to all variables; many are only read
+ at startup - changing them will have no effect.
+ </para>
+ <variablelist>
+ <varlistentry>
+ <term><cmdsynopsis><command>set_env</command> <arg choice="req"><replaceable>variable</replaceable></arg> <arg choice="req"><replaceable>value</replaceable></arg></cmdsynopsis></term>
+ <listitem>
+ <variablelist>
+ <varlistentry>
+ <term>variable</term>
+ <listitem><para>The name of the variable to set, as the string form of an Erlang term.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>value</term>
+ <listitem><para>The value to set it to, as the string form of an Erlang term.</para></listitem>
+ </varlistentry>
+ </variablelist>
+ <para>
+ Set the value of a configuration variable.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><cmdsynopsis><command>get_env</command> <arg choice="req"><replaceable>variable</replaceable></arg></cmdsynopsis></term>
+ <listitem>
+ <variablelist>
+ <varlistentry>
+ <term>variable</term>
+ <listitem><para>The name of the variable to get, as the string form of an Erlang term.</para></listitem>
+ </varlistentry>
+ </variablelist>
+ <para>
+ Get the value of a configuration variable, printing either
+ {ok,<command>Value</command>} or undefined.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><cmdsynopsis><command>unset_env</command> <arg choice="req"><replaceable>variable</replaceable></arg></cmdsynopsis></term>
+ <listitem>
+ <variablelist>
+ <varlistentry>
+ <term>variable</term>
+ <listitem><para>The name of the variable to clear, as the string form of an Erlang term.</para></listitem>
+ </varlistentry>
+ </variablelist>
+ <para>
+ Clear the value of a configuration variable.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
+ </refsect2>
</refsect1>
</refentry>