How to stop fetchmail(1)
Mon Sep 6 22:14:54 BST 1999
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 at scientia.demon.co.uk | key available from keyservers and
| ben+pgp at scientia.demon.co.uk
More information about the Ukfreebsd