From pali.gabor@googlemail.com  Fri May  2 22:59:08 2008
Return-Path: <pali.gabor@googlemail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E1CF81065670
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  2 May 2008 22:59:08 +0000 (UTC)
	(envelope-from pali.gabor@googlemail.com)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154])
	by mx1.freebsd.org (Postfix) with ESMTP id 678C48FC0C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  2 May 2008 22:59:08 +0000 (UTC)
	(envelope-from pali.gabor@googlemail.com)
Received: by fg-out-1718.google.com with SMTP id 13so3037277fge.35
        for <FreeBSD-gnats-submit@freebsd.org>; Fri, 02 May 2008 15:59:07 -0700 (PDT)
Received: by 10.86.90.13 with SMTP id n13mr6049225fgb.3.1209769147037;
        Fri, 02 May 2008 15:59:07 -0700 (PDT)
Received: from pgj@FreeBSD.org ( [80.98.116.90])
        by mx.google.com with ESMTPS id o11sm6121338fkf.16.2008.05.02.15.59.04
        (version=TLSv1/SSLv3 cipher=OTHER);
        Fri, 02 May 2008 15:59:06 -0700 (PDT)
Received: by pgj@FreeBSD.org (sSMTP sendmail emulation); Sat,  3 May 2008 00:58:56 +0200
Message-Id: <481b9cba.0bbf5e0a.1515.ffffb344@mx.google.com>
Date: Sat,  3 May 2008 00:58:56 +0200
From: "Gabor PALI" <pgj@FreeBSD.org>
Sender: =?UTF-8?B?UMOBTEkgR8OhYm9yIErDoW5vcw==?= <pali.gabor@googlemail.com>
Reply-To: Gabor PALI <pgj@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] Update the Restart of inetd(8) in Handbook Section 18.15.4
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         123348
>Category:       docs
>Synopsis:       [patch] Update the Restart of inetd(8) in Handbook Section 18.15.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    danger
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 02 23:00:05 UTC 2008
>Closed-Date:    Fri May 02 23:08:57 UTC 2008
>Last-Modified:  Fri May  2 23:10:04 UTC 2008
>Originator:     Gabor PALI
>Release:        FreeBSD 6.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD disznohal 6.3-STABLE FreeBSD 6.3-STABLE #4: Fri Apr 4 23:29:43 CEST 2008 dezzy@disznohal:/usr/obj/usr/src/sys/GENERIC_ i386

>Description:
	Section 18.15.4 in the FreeBSD Handbook contains an old method
	for restarting the inetd(8) daemon. I think this should be updated
	to use rc(8) scripts.


>How-To-Repeat:

>Fix:

--- disks.patch.4.diff begins here ---
Index: chapter.sgml
===================================================================
RCS file: /doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml,v
retrieving revision 1.282
diff -u -r1.282 chapter.sgml
--- chapter.sgml	25 Mar 2008 08:43:38 -0000	1.282
+++ chapter.sgml	2 May 2008 22:52:55 -0000
@@ -3433,7 +3433,7 @@
 
       <para>Now restart <command>inetd</command>:</para>
 
-      <screen>&prompt.root; <userinput>kill -HUP `cat /var/run/inetd.pid`</userinput></screen>
+      <screen>&prompt.root; <userinput>/etc/rc.d/inetd restart</userinput></screen>
     </sect2>
   </sect1>
 
--- disks.patch.4.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->danger 
Responsible-Changed-By: danger 
Responsible-Changed-When: Fri May 2 23:03:04 UTC 2008 
Responsible-Changed-Why:  
Take 

http://www.freebsd.org/cgi/query-pr.cgi?pr=123348 
State-Changed-From-To: open->closed 
State-Changed-By: danger 
State-Changed-When: Fri May 2 23:08:12 UTC 2008 
State-Changed-Why:  
I have commited your patch; thank you for your submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=123348 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/123348: commit references a PR
Date: Fri,  2 May 2008 23:08:09 +0000 (UTC)

 danger      2008-05-02 23:08:05 UTC
 
   FreeBSD doc repository
 
   Modified files:
     en_US.ISO8859-1/books/handbook/disks chapter.sgml 
   Log:
   - use the rc.d script to restart a system service instead of the old-fashioned
     kill method
   
   PR:             docs/123348
   Submitted by:   pgj
   
   Revision  Changes    Path
   1.283     +1 -1      doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
