Package not found: Cloud:OpenStack:Master/python-dockerpty

File rabbitmq-systemd-notification-support.patch of Package rabbitmq-server

From d4a78fefa56283bdf41044e2cb7b5daebb02fa0e Mon Sep 17 00:00:00 2001
From: John Eckersberg <jeckersb@redhat.com>
Date: Wed, 18 Feb 2015 16:11:12 -0500
Subject: [PATCH] Add systemd notification support

---
 src/rabbit.erl | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/rabbit.erl b/src/rabbit.erl
index ba78b1e..1e97336 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) ->
openSUSE Build Service is sponsored by