HomePhabricator
Diffusion Comm 449de39cde50

[Nix] Add rabbitmq-up command

Description

[Nix] Add rabbitmq-up command

Summary:
Add rabbitmq-up command for creation of
a local user service for development of tunnelbroker.

https://linear.app/comm/issue/ENG-1696

Test Plan:

# Stop any existing rabbitmq services if they exist

nix develop
nix run .#rabbitmq-up

# Should show that it's bound to 5672, and listening
tail -f $HOME/.local/share/RabbitMQ/logs/comm.log

# Running it again should do nothing
nix run .#rabbitmq-up

# Cleanup services, optional
pkill rabbitmq-server beam.smp

Reviewers: max, abosh, varun, O1 Nix, atul

Reviewed By: max, O1 Nix, atul

Subscribers: ashoat, tomek, atul

Differential Revision: https://phab.comm.dev/D4948

Details

Provenance
jonAuthored on Aug 24 2022, 9:00 AM
Reviewer
Restricted Owners Package
Differential Revision
D4948: [Nix] Add rabbitmq-up command
Parents
rCOMM39799a0c43cc: [Nix] Ensure cargo bin is on PATH
Branches
Unknown
Tags
Unknown