From owner-freebsd-questions Mon Sep 6 14:20:17 1999 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 41CC5159CA for ; Mon, 6 Sep 1999 14:20:07 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from lithium.scientia.demon.co.uk ([192.168.0.3] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.032 #1) id 11O66M-0006FA-00; Mon, 06 Sep 1999 22:14:58 +0100 Received: (from ben) by lithium.scientia.demon.co.uk (Exim 3.032 #1) id 11O66J-0004hK-00; Mon, 06 Sep 1999 22:14:55 +0100 Date: Mon, 6 Sep 1999 22:14:54 +0100 From: Ben Smithurst To: Mark Ovens 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> References: <19990906193606.D281@marder-1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <19990906193606.D281@marder-1> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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