Blame rabbitmq-server-systemd-notify-support.patch

944e73
--- rabbitmq-server-3.4.0/src/rabbit.erl.orig	2014-10-22 09:23:41.578344937 -0400
944e73
+++ rabbitmq-server-3.4.0/src/rabbit.erl	2014-10-22 09:26:41.543213183 -0400
944e73
@@ -323,6 +323,8 @@
944e73
     Plugins = rabbit_plugins:setup(),
944e73
     ToBeLoaded = Plugins ++ ?APPS,
944e73
     start_apps(ToBeLoaded),
944e73
+    {module, sd_notify} == code:load_file(sd_notify) andalso
944e73
+        sd_notify:sd_notify(0, "READY=1"),
944e73
     ok = log_broker_started(rabbit_plugins:active()).
1281b1
 
944e73
 start_it(StartFun) ->