From 9ab559404f4e5c7ffb2cd65e080cf6d1beaea074 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 4 Sep 2019 15:43:06 +0300 Subject: [PATCH] master: Don't log "Sent SIGKILL to .. processes" when actually sending SIGUSR1 The SIGUSR1 is sent when all login processes are full and can't accept any more connections. This should be handled silently by the master. --- src/master/service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/master/service.c b/src/master/service.c index cc699eb268..5caaf824be 100644 --- a/src/master/service.c +++ b/src/master/service.c @@ -522,7 +522,7 @@ unsigned int service_signal(struct service *service, int signo, dec2str(process->pid), signo); } } - if (count > 0) { + if (count > 0 && signo != SIGUSR1) { i_warning("Sent %s to %u %s processes", signo == SIGTERM ? "SIGTERM" : "SIGKILL", count, service->set->name); -- 2.47.3