Go to main content

man pages section 5: File Formats

Exit Print View

Updated: Wednesday, February 9, 2022
 
 

rabbitmq-env.conf (5)

Name

rabbitmq-env.conf - environment variables used by RabbitMQ server

Synopsis

Please see following description for synopsis

Description


RABBITMQ-ENV.CONF(5)        BSD File Formats Manual       RABBITMQ-ENV.CONF(5)

NAME
     rabbitmq-env.conf -- environment variables used by RabbitMQ server

DESCRIPTION
     rabbitmq-env.conf contains environment variables that override the
     defaults built in to the RabbitMQ scripts and CLI tools.

     The file is interpreted by the system shell, and so should consist of a
     sequence of shell environment variable definitions.  Normal shell syntax
     is permitted (since the file is sourced using the shell "." operator),
     including line comments starting with "#".

     In order of preference, the startup scripts get their values from the
     environment, from rabbitmq-env.conf and finally from the built-in default
     values.  For example, for the RABBITMQ_NODENAME setting,
     RABBITMQ_NODENAME from the environment is checked first.  If it is absent
     or equal to the empty string, then NODENAME from rabbitmq-env.conf is
     checked.  If it is also absent or set equal to the empty string then the
     default value from the startup script is used.

     The variable names in rabbitmq-env.conf are always equal to the environ-
     ment variable names, with the "RABBITMQ_" prefix removed:
     RABBITMQ_NODE_PORT from the environment becomes NODE_PORT in
     rabbitmq-env.conf.

EXAMPLES
     Below is an example of a minimalistic rabbitmq-env.conf file that over-
     rides the default node name prefix from "rabbit" to "hare".

           # I am a complete rabbitmq-env.conf file.
           # Comment lines start with a hash character.
           # This is a /bin/sh script file - use ordinary envt var syntax
           NODENAME=hare

     In the below rabbitmq-env.conf file RabbitMQ configuration file location
     is changed to "/data/services/rabbitmq/rabbitmq.conf".

           # I am a complete rabbitmq-env.conf file.
           # Comment lines start with a hash character.
           # This is a /bin/sh script file - use ordinary envt var syntax
           CONFIG_FILE=/data/services/rabbitmq/rabbitmq.conf


ATTRIBUTES
     See attributes(7) for descriptions of the following attributes:

     +---------------+-----------------------+
     |ATTRIBUTE TYPE |   ATTRIBUTE VALUE     |
     +---------------+-----------------------+
     |Availability   | network/amqp/rabbitmq |
     +---------------+-----------------------+
     |Stability      | Pass-through volatile |
     +---------------+-----------------------+

SEE ALSO
     rabbitmq-plugins(8), rabbitmq-server(8), rabbitmq-queues(8),
     rabbitmq-upgrade(8), rabbitmqctl(8)

AUTHOR
     The RabbitMQ Team <info@rabbitmq.com>



NOTES
     Source code for open source software components in Oracle Solaris can be
     found at https://www.oracle.com/downloads/opensource/solaris-source-code-
     downloads.html.

     This software was built from source available at https://github.com/ora-
     cle/solaris-userland.  The original community source was downloaded from
     https://github.com/rabbitmq/rabbitmq-server/releases/down-
     load/v3.8.18/rabbitmq-server-3.8.18.tar.xz.

     Further information about this software can be found on the open source
     community website at https://www.rabbitmq.com/.

RabbitMQ Server               September 28, 2019               RabbitMQ Server