Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Sep 1999 22:14:54 +0100
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Mark Ovens <mark@dogma.freebsd-uk.eu.org>
Cc:        questions@freebsd.org, freebsd-users@dogma.freebsd-uk.eu.org
Subject:   Re: How to stop fetchmail(1)
Message-ID:  <19990906221454.A18020@lithium.scientia.demon.co.uk>
In-Reply-To: <19990906193606.D281@marder-1>
References:  <19990906193606.D281@marder-1>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Ovens wrote:

> The manpage shows ``fetchmail --quit'' as the way to kill the
> fetchmail daemon but it doesn't state *how* it kills it. Does it
> just kill the daemon unconditionally or, and I suspect this is the
> case, if fetchmail is currently getting mail does it wait until
> the daemon goes back to the idle state before killing it?

Do what any hacker would do -- read the source. I looks like --quit just
sends a SIGTERM to the other fetchmail process, and that the SIGTERM
handler doesn't wait for mail to finish.

-- 
Ben Smithurst            | PGP: 0x99392F7D
ben@scientia.demon.co.uk |   key available from keyservers and
                         |   ben+pgp@scientia.demon.co.uk


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990906221454.A18020>