From owner-freebsd-questions Mon Jul 2 2:56:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from duval.se.mediaone.net (duval.se.mediaone.net [24.129.0.67]) by hub.freebsd.org (Postfix) with ESMTP id 2ACCA37B401 for ; Mon, 2 Jul 2001 02:56:29 -0700 (PDT) (envelope-from rvb01@mediaone.net) Received: from rr-163-63-38.atl.mediaone.net (rr-163-63-38.atl.mediaone.net [24.163.63.38]) by duval.se.mediaone.net (8.11.1/8.11.1) with SMTP id f629t5P22951; Mon, 2 Jul 2001 05:55:05 -0400 (EDT) From: rvb To: cjclark@alum.mit.edu, freebsd-questions@FreeBSD.ORG Subject: Re: Restart /etc/rc.conf Date: Mon, 02 Jul 2001 05:57:49 -0400 Organization: rvb01@[nospam]mediaone.net Reply-To: rvb01@mediaone.net Message-ID: References: <3B3FC775.F9B111CD@pacific.net.sg> <20010701195927.K296@blossom.cjclark.org> In-Reply-To: <20010701195927.K296@blossom.cjclark.org> X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I agree. And instead of using: # kill `head -1 /var/run/sendmail.pid` you could do: # ps -aux | grep sendmail # kill -1 The kill -1 sends a SIGHUP which bounces (stops and restarts) sendmail. rvb "Crist J. Clark" wrote: >On Mon, Jul 02, 2001 at 02:13:14AM +0100, Jonathan M. Slivko wrote: >> ps -aux | grep sendmail >> kill -9 >> done. > >Don't use signal 9 (SIGKILL) unless you have to. It does not allow a >program to clean up or do other things before exiting. Use the default >SIGTERM. > >To properly shutdown sendmail, > > # kill `head -1 /var/run/sendmail.pid` -- _____ |_____| O|||||O |,=3D=3D=3D=3D=3D,| |,| |,| /^\ =20 / \ / \ / \ __/ \__=20 / \ =20 / \ / \ __/ \__ / \ / \ Jeep. There's only one. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message