docs/93522: [patch] use rc.d script in example describing how to restart mountd in nework-servers chapter
Daniel Gerzo
danger at rulez.sk
Sat Feb 18 10:20:11 UTC 2006
>Number: 93522
>Category: docs
>Synopsis: [patch] use rc.d script in example describing how to restart mountd in nework-servers chapter
>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: Sat Feb 18 10:20:08 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Daniel Gerzo
>Release: FreeBSD 6.1-PRERELEASE i386
>Organization:
rulez.sk
>Environment:
System: 6.1-PRERELEASE #0: Wed Feb 15 02:22:30 CET 2006 i386
>Description:
Teach users to get used to use the rc.d scripts since they are nice and
easy-to-use, so reflect them in the handbok.
>How-To-Repeat:
>Fix:
--- chapter.sgml.diff begins here ---
--- /usr/home/danger/doc/en_US.ISO8859-1/books/handbook/network-servers/chapter.sgml.orig Thu Feb 16 09:44:00 2006
+++ /usr/home/danger/doc/en_US.ISO8859-1/books/handbook/network-servers/chapter.sgml Sat Feb 18 10:15:15 2006
@@ -776,10 +776,10 @@
<para>You must restart
<application>mountd</application> whenever you modify
<filename>/etc/exports</filename> so the changes can take effect.
- This can be accomplished by sending the HUP signal
- to the <command>mountd</command> process:</para>
+ This can be accomplished by invoking of the
+ <filename>/etc/rc.d/mountd</filename> script:</para>
- <screen>&prompt.root; <userinput>kill -HUP `cat /var/run/mountd.pid`</userinput></screen>
+ <screen>&prompt.root; <userinput>/etc/rc.d/mountd restart</userinput></screen>
<para>Alternatively, a reboot will make FreeBSD set everything
up properly. A reboot is not necessary though.
--- chapter.sgml.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list