diff --git a/src/server.c b/src/server.c index 71a15e2b8..401f63293 100644 --- a/src/server.c +++ b/src/server.c @@ -4331,6 +4331,8 @@ int finishShutdown(void) { serverLog(LL_WARNING, "Writing initial AOF. Exit anyway."); } else { serverLog(LL_WARNING, "Writing initial AOF, can't exit."); + if (server.supervised_mode == SUPERVISED_SYSTEMD) + redisCommunicateSystemd("STATUS=Writing initial AOF, can't exit.\n"); goto error; } }