summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Garnock-Jones <tonyg@lshift.net>2008-12-10 16:15:03 +0000
committerTony Garnock-Jones <tonyg@lshift.net>2008-12-10 16:15:03 +0000
commitce7b45fa876212da95dcdbdbc5d2b9899e9680fa (patch)
treee81017f81aaadb4abaf67012578d5a46fa1e361f
parentb6a097208faa456fd9a9702ebef01af0a9dd51a8 (diff)
downloadrabbitmq-server-bug19914.tar.gz
Add an example to the /etc/default/rabbitmq manpagebug19914
-rw-r--r--docs/rabbitmq.5.pod10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/rabbitmq.5.pod b/docs/rabbitmq.5.pod
index 5ed2070a..e6972935 100644
--- a/docs/rabbitmq.5.pod
+++ b/docs/rabbitmq.5.pod
@@ -30,6 +30,16 @@ environment variable names, with the B<RABBITMQ_> prefix removed:
B<RABBITMQ_NODE_PORT> from the environment becomes B<NODE_PORT> in the
/etc/default/rabbitmq file, etc.
+=head1 EXAMPLES
+
+The following is an example of a complete /etc/default/rabbitmq file
+that overrides the default Erlang node name from "rabbit" to "hare":
+
+ # I am a complete /etc/default/rabbitmq file.
+ # Comment lines start with a hash character.
+ # This is a /bin/sh script file - use ordinary envt var syntax
+ NODENAME=hare
+
=head1 SEE ALSO
rabbitmq-server(1), rabbitmq-multi(1), rabbitmqctl(1)