Commit 9f216b0a authored by 智勇's avatar 智勇

创建vhost前先删除旧的vhost

parent 41c68ee8
......@@ -2,6 +2,7 @@
function add_vhost()
{
/usr/lib/rabbitmq/bin/rabbitmqctl delete_vhost $1
/usr/lib/rabbitmq/bin/rabbitmqctl add_vhost $1
/usr/lib/rabbitmq/bin/rabbitmqctl set_permissions -p $1 qa ".*" ".*" ".*"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment