From owner-freebsd-current Wed Oct 25 12:35:50 2000 Delivered-To: freebsd-current@freebsd.org Received: from guru.mired.org (okc-27-149-77.mmcable.com [24.27.149.77]) by hub.freebsd.org (Postfix) with SMTP id F3A1437B479 for ; Wed, 25 Oct 2000 12:35:46 -0700 (PDT) Received: (qmail 94414 invoked by uid 100); 25 Oct 2000 19:35:46 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14839.13842.525097.359205@guru.mired.org> Date: Wed, 25 Oct 2000 14:35:46 -0500 (CDT) To: Gerhard Sittig Cc: freebsd-current@FreeBSD.ORG Subject: Re: new rc.network6 and rc.firewall6 In-Reply-To: <20001025195723.P25237@speedy.gsinet> References: <20001024132401.T17729@dragon.nuxi.com> <20001025195723.P25237@speedy.gsinet> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Gerhard Sittig writes: > On Wed, Oct 25, 2000 at 06:04 +0700, Alexey Dokuchaev wrote: > > Though I see your point, actually, many UNIX books, including > > some pretty old ones, refer to sending HUP signal as standard > > way of restarting/resetting daemons. > Please tell the software authors about it, too. :) Although > there might be some form of convention, not everyone might follow > it (some might not be able even if they tried without breaking > established behaviour). Wrapping those services will make > starting, stopping, reloading, querying status and whatever you > usually do to them easy and consistent for the user again. Actually, the HUP convention has been around since at least v6. As noted, it's still not universal. The pid file convention is more recent, and less followed. Fixing that in a startup script is easy (and what I recommend for string daemons that use the HUP convention, so that it can be used for the script's stop command :-). Now, which process do I need to create a pidfile for to get my ipfw config reloaded?