From 2d0657408280c0d0281623327b6c5085e2f8b2e5 Mon Sep 17 00:00:00 2001 From: Simon MacMullen Date: Mon, 22 Aug 2011 16:46:40 +0100 Subject: Update the man page. --- docs/rabbitmqctl.1.xml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/docs/rabbitmqctl.1.xml b/docs/rabbitmqctl.1.xml index ba87c836..4d3065b7 100644 --- a/docs/rabbitmqctl.1.xml +++ b/docs/rabbitmqctl.1.xml @@ -163,20 +163,28 @@ - wait + wait pid_file Wait for the RabbitMQ application to start. This command will wait for the RabbitMQ application to - start at the node. As long as the Erlang node is up but - the RabbitMQ application is down it will wait - indefinitely. If the node itself goes down, or takes - more than five seconds to come up, it will fail. + start at the node. It will wait for the pid file to + be created, then for a process with a pid specified in the + pid file to start, and then for the RabbitMQ application + to start in that process. It will fail if the process + terminates without starting the RabbitMQ application. + + + A suitable pid file is created by + the rabbitmq-server script. By + default this is located in the Mnesia directory. Modify + the RABBITMQ_PID_FILE environment + variable to change the location. For example: - rabbitmqctl wait + rabbitmqctl wait /var/run/rabbitmq/pid This command will return when the RabbitMQ node has started up. -- cgit v1.2.1