X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-cloud%2Frecipes-extended%2Frabbitmq%2Ffiles%2Frabbitmq-server-0002-Add-systemd-notification-support.patch;fp=meta-starlingx%2Fmeta-stx-cloud%2Frecipes-extended%2Frabbitmq%2Ffiles%2Frabbitmq-server-0002-Add-systemd-notification-support.patch;h=0000000000000000000000000000000000000000;hb=6fc6934434f70595536a387ece31bc30141cafb5;hp=7e8b0a47bd083feab918550bc994ca537325c924;hpb=eb1e26510491ba49de693ab3b0498edcb06be6c5;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-cloud/recipes-extended/rabbitmq/files/rabbitmq-server-0002-Add-systemd-notification-support.patch b/meta-starlingx/meta-stx-cloud/recipes-extended/rabbitmq/files/rabbitmq-server-0002-Add-systemd-notification-support.patch deleted file mode 100644 index 7e8b0a4..0000000 --- a/meta-starlingx/meta-stx-cloud/recipes-extended/rabbitmq/files/rabbitmq-server-0002-Add-systemd-notification-support.patch +++ /dev/null @@ -1,21 +0,0 @@ -From: John Eckersberg -Date: Wed, 18 Feb 2015 16:11:12 -0500 -Subject: [PATCH] Add systemd notification support - - -diff --git a/src/rabbit.erl b/src/rabbit.erl -index 32ff240..f9e8231 100644 ---- a/src/rabbit.erl -+++ b/src/rabbit.erl -@@ -280,6 +280,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\nSTATUS=Initialized\nMAINPID=" ++ os:getpid() ++ "\n"); -+ {error, _} -> ok -+ end, - ok = log_broker_started(rabbit_plugins:active()). - - start_it(StartFun) ->