GrantU
GrantU

Reputation: 6555

Get RabbitMQ run automatically?

I'm running RabbitMQ on a EC2 machine. To start RabbitMQ working I type:

sudo rabbitmq-server

This starts ok and everything works. My issue is when I disconnect from the shell so does Rabbit.

How to I get rabbitmq-server to run automatically and without having to keep open my .ssh shell?

I'm running on a Ubuntu instance on Amazon EC2.

Upvotes: 2

Views: 318

Answers (1)

cmd
cmd

Reputation: 5830

Start the process detached as the docs state.

sudo rabbitmq-server -detached

Upvotes: 2

Related Questions