Expose the "stop-broker" CMD

This commit is contained in:
Simon Unge 2023-09-19 19:53:05 +00:00
parent 60e2624812
commit 588f932e33
1 changed files with 9 additions and 0 deletions

View File

@ -173,6 +173,15 @@ rabbitmq_run_command(
subcommand = "start-background-broker",
)
# Allow us to `bazel run stop-broker`
# Useful is broker started in the background
rabbitmq_run_command(
name = "stop-broker",
rabbitmq_run = ":rabbitmq-run",
subcommand = "stop-node",
)
# Allow us to `bazel run start-cluster`
# for the equivalent of `make start-cluster`
rabbitmq_run_command(