From 9afcf9b95d2c53f866e9a33ddce46562f8950ded Mon Sep 17 00:00:00 2001 From: Francisco Redondo Marchena Date: Thu, 13 Nov 2014 14:45:34 +0000 Subject: Apply patch to support notify in rabbitmq-server http://pkgs.fedoraproject.org/cgit/rabbitmq-server.git/tree/rabbitmq-server-systemd-notify-support.patch --- src/rabbit.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rabbit.erl b/src/rabbit.erl index f923cb01..28e706e1 100644 --- a/src/rabbit.erl +++ b/src/rabbit.erl @@ -323,6 +323,8 @@ broker_start() -> Plugins = rabbit_plugins:setup(), ToBeLoaded = Plugins ++ ?APPS, start_apps(ToBeLoaded), + {module, sd_notify} == code:load_file(sd_notify) andalso + sd_notify:sd_notify(0, "READY=1"), ok = log_broker_started(rabbit_plugins:active()). start_it(StartFun) -> -- cgit v1.2.1