Sha256: eafc87735895b8f62f2ee25cf8a4fc47f814ce1d441e3ad0f29ddb8106d9d5e1
Contents?: true
Size: 997 Bytes
Versions: 2
Compression:
Stored size: 997 Bytes
Contents
#!/bin/sh ${RUBY_RABBITMQ_HTTP_API_CLIENT_RABBITMQCTL:="sudo rabbitmqctl"} # guest:guest has full access to / $RUBY_RABBITMQ_HTTP_API_CLIENT_RABBITMQCTL add_vhost / $RUBY_RABBITMQ_HTTP_API_CLIENT_RABBITMQCTL add_user guest guest $RUBY_RABBITMQ_HTTP_API_CLIENT_RABBITMQCTL set_permissions -p / guest ".*" ".*" ".*" # Reduce retention policy for faster publishing of stats $RUBY_RABBITMQ_HTTP_API_CLIENT_RABBITMQCTL eval 'supervisor2:terminate_child(rabbit_mgmt_sup_sup, rabbit_mgmt_sup), application:set_env(rabbitmq_management, sample_retention_policies, [{global, [{605, 1}]}, {basic, [{605, 1}]}, {detailed, [{10, 1}]}]), rabbit_mgmt_sup_sup:start_child().' | true $RUBY_RABBITMQ_HTTP_API_CLIENT_RABBITMQCTL eval 'supervisor2:terminate_child(rabbit_mgmt_agent_sup_sup, rabbit_mgmt_agent_sup), application:set_env(rabbitmq_management_agent, sample_retention_policies, [{global, [{605, 1}]}, {basic, [{605, 1}]}, {detailed, [{10, 1}]}]), rabbit_mgmt_agent_sup_sup:start_child().' | true
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rabbitmq_http_api_client-1.9.0 | bin/before_build.sh |
rabbitmq_http_api_client-1.8.0 | bin/before_build.sh |