summaryrefslogtreecommitdiffstats
path: root/0003-Notify-systemd-on-sentinel-startup.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-07-21 07:45:18 +0200
committerRemi Collet <remi@remirepo.net>2020-07-21 07:45:18 +0200
commit07293165a4f2d7cb15c86ed9a6055d2e12a29fbd (patch)
tree746daa87b8c51504153fc152e5979276c0bdc99b /0003-Notify-systemd-on-sentinel-startup.patch
parentdd2acc83562ea5e8e35a93a0c6f37147e067d565 (diff)
Redis 6.0.6 - Released Mon Jul 20 09:31:30 IDT 2020
Upgrade urgency MODERATE: several bugs with moderate impact are fixed here. open https://github.com/redis/redis/pull/7543 fix deprecated tail syntax
Diffstat (limited to '0003-Notify-systemd-on-sentinel-startup.patch')
-rw-r--r--0003-Notify-systemd-on-sentinel-startup.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/0003-Notify-systemd-on-sentinel-startup.patch b/0003-Notify-systemd-on-sentinel-startup.patch
deleted file mode 100644
index ee58b56..0000000
--- a/0003-Notify-systemd-on-sentinel-startup.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 16dbe5168224b9f8a2b193f014f3dbf7e9604516 Mon Sep 17 00:00:00 2001
-From: Daniel Murnane <dmurnane@eitccorp.com>
-Date: Fri, 1 May 2020 08:19:28 -0400
-Subject: [PATCH] Notify systemd on sentinel startup
-
----
- src/server.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/server.c b/src/server.c
-index 659604ef363..7ab7c39fd0a 100644
---- a/src/server.c
-+++ b/src/server.c
-@@ -5111,6 +5111,10 @@ int main(int argc, char **argv) {
- } else {
- InitServerLast();
- sentinelIsRunning();
-+ if (server.supervised_mode == SUPERVISED_SYSTEMD) {
-+ redisCommunicateSystemd("STATUS=Ready to accept connections\n");
-+ redisCommunicateSystemd("READY=1\n");
-+ }
- }
-
- /* Warning the user about suspicious maxmemory setting. */