summaryrefslogtreecommitdiff
path: root/src/rabbit.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rabbit.erl')
-rw-r--r--src/rabbit.erl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl
index ba78b1eee0..1e9733647e 100644
--- a/src/rabbit.erl
+++ b/src/rabbit.erl
@@ -335,6 +335,11 @@ broker_start() ->
Plugins = rabbit_plugins:setup(),
ToBeLoaded = Plugins ++ ?APPS,
start_apps(ToBeLoaded),
+ case code:load_file(sd_notify) of
+ {module, sd_notify} -> SDNotify = sd_notify,
+ SDNotify:sd_notify(0, "READY=1");
+ {error, _} -> ok
+ end,
ok = log_broker_started(rabbit_plugins:active()).
start_it(StartFun) ->