Sha256: f47f324befc15d2f5eb32abdecebdd2df1fd6db350d98ee89a3a76eb352f4c56
Contents?: true
Size: 640 Bytes
Versions: 2
Compression:
Stored size: 640 Bytes
Contents
#!/bin/sh server=rabbitmq-server ctl=rabbitmqctl delay=5 echo 'Starting a RabbitMQ node' $server -detached echo "Waiting $delay seconds for RabbitMQ to start." sleep $delay $ctl add_user bunny_gem bunny_password $ctl add_user bunny_reader reader_password $ctl add_vhost bunny_testbed $ctl set_permissions -p / guest '.*' '.*' '.*' $ctl set_permissions -p bunny_testbed bunny_gem '.*' '.*' '.*' $ctl set_permissions -p bunny_testbed guest '.*' '.*' '.*' $ctl set_permissions -p bunny_testbed bunny_reader '^---$' '^---$' '.*' $ctl shutdown --timeout 10 echo 'Starting a RabbitMQ node in foreground (use Ctrl-C to stop)' exec $server
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bunny-2.14.2 | docker/docker-entrypoint.sh |
bunny-2.14.1 | docker/docker-entrypoint.sh |