Re: [EXIM] Logging signals?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Marc Haber
Cc: exim-users
Asunto: Re: [EXIM] Logging signals?
On Tue, 19 Jan 1999, Marc Haber wrote:

> Exim doesn't do any cleanup work if it receives SIGTERM?


Nope. Well, not when it is the daemon (which is the case you were
considering). Exim needs to notice SIGTERM only when

(a) Actually receiving a message, in order to clean up partially written
files, try to close down the SMTP connection tidily, etc.

(b) When doing a local delivery - in fact it ignores SIGTERM in this
case.

The daemon is just waiting for an incoming call or an ALRM signal.
Whenever it gets either it forks a process to deal with it. So there is
nothing for it to tidy up on receiving SIGTERM.

But you were talking about logging *any* signal received. There are lots
and lots of them. SIGTERM is just one.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***