From owner-freebsd-current Wed Oct 25 12:17: 6 2000 Delivered-To: freebsd-current@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id 3B89D37B479 for ; Wed, 25 Oct 2000 12:17:00 -0700 (PDT) Received: (qmail 1343 invoked by uid 0); 25 Oct 2000 19:16:58 -0000 Received: from p3ee20a8e.dip.t-dialin.net (HELO speedy.gsinet) (62.226.10.142) by mail.gmx.net with SMTP; 25 Oct 2000 19:16:58 -0000 Received: (from sittig@localhost) by speedy.gsinet (8.8.8/8.8.8) id TAA19278 for freebsd-current@FreeBSD.ORG; Wed, 25 Oct 2000 19:57:23 +0200 Date: Wed, 25 Oct 2000 19:57:23 +0200 From: Gerhard Sittig To: freebsd-current@FreeBSD.ORG Subject: Re: new rc.network6 and rc.firewall6 Message-ID: <20001025195723.P25237@speedy.gsinet> Mail-Followup-To: freebsd-current@FreeBSD.ORG References: <20001024132401.T17729@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from danfe@inet.ssc.nsu.ru on Wed, Oct 25, 2000 at 06:04:43AM +0700 Organization: System Defenestrators Inc. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Oct 25, 2000 at 06:04 +0700, Alexey Dokuchaev wrote: > On Tue, 24 Oct 2000, David O'Brien wrote: > > > On Tue, Oct 24, 2000 at 04:23:40PM +0700, Alexey Dokuchaev wrote: > > > Why can't I simply write kill -1 `cat > > > /var/run/sendmail.pid`? > > > > What about deamons that don't understand `kill -HUP'? > > Sendmail didn't until very reciently. > > ``/etc/rc.d/some-deamon restart'' does the right thing > > reguardless how involved that might be. > > 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. BTW: Do you know all the pidfile names and locations by heart? Across every version and platform you are running / taking care of? virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message