diff --git a/src/server.c b/src/server.c index 1f794e4ed..9c2126bc0 100644 --- a/src/server.c +++ b/src/server.c @@ -5198,6 +5198,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. */