Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  3 May 2008 00:58:56 +0200
From:      "Gabor PALI" <pgj@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/123348: [patch] Update the Restart of inetd(8) in Handbook Section 18.15.4
Message-ID:  <481b9cba.0bbf5e0a.1515.ffffb344@mx.google.com>
Resent-Message-ID: <200805022300.m42N05BP019770@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 02 23:00:05 UTC 2008
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?481b9cba.0bbf5e0a.1515.ffffb344>