summaryrefslogtreecommitdiff
path: root/src/rabbit_control.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rabbit_control.erl')
-rw-r--r--src/rabbit_control.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rabbit_control.erl b/src/rabbit_control.erl
index 6ab07111..6966fd04 100644
--- a/src/rabbit_control.erl
+++ b/src/rabbit_control.erl
@@ -295,6 +295,10 @@ action(unset_env, Node, [Var], _Opts, Inform) ->
Inform("Clearing control variable ~s for node ~p", [Var, Node]),
rpc_call(Node, application, unset_env, [rabbit, parse(Var)]);
+action(refresh_channel_config, Node, [], _Opts, Inform) ->
+ Inform("Telling channels to refresh configuration", []),
+ rpc_call(Node, rabbit_channel, refresh_config_all, []);
+
action(set_permissions, Node, [Username, CPerm, WPerm, RPerm], Opts, Inform) ->
VHost = proplists:get_value(?VHOST_OPT, Opts),
Inform("Setting permissions for user ~p in vhost ~p", [Username, VHost]),