From: Timo Sirainen Date: Wed, 4 Sep 2019 12:43:06 +0000 (+0300) Subject: master: Don't log "Sent SIGKILL to .. processes" when actually sending SIGUSR1 X-Git-Tag: 2.3.9~199 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ab559404f4e5c7ffb2cd65e080cf6d1beaea074;p=thirdparty%2Fdovecot%2Fcore.git 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. --- 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);