From owner-freebsd-doc@FreeBSD.ORG Sat Feb 18 13:00:22 2006 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9008B16A420 for ; Sat, 18 Feb 2006 13:00:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FB6543D45 for ; Sat, 18 Feb 2006 13:00:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1ID0Lsn009874 for ; Sat, 18 Feb 2006 13:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1ID0LUo009873; Sat, 18 Feb 2006 13:00:21 GMT (envelope-from gnats) Date: Sat, 18 Feb 2006 13:00:21 GMT Message-Id: <200602181300.k1ID0LUo009873@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: "Simon L. Nielsen" Cc: Subject: Re: docs/93522: [patch] use rc.d script in example describing how to restart mountd in nework-servers chapter X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Simon L. Nielsen" List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2006 13:00:22 -0000 The following reply was made to PR docs/93522; it has been noted by GNATS. From: "Simon L. Nielsen" To: Dmitry Morozovsky Cc: Christian Brueffer , freebsd-gnats-submit@FreeBSD.org Subject: Re: docs/93522: [patch] use rc.d script in example describing how to restart mountd in nework-servers chapter Date: Sat, 18 Feb 2006 13:40:03 +0100 --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2006.02.18 14:52:31 +0300, Dmitry Morozovsky wrote: > On Sat, 18 Feb 2006, Christian Brueffer wrote: >=20 > CB> > - &prompt.root; kill -HUP `cat /var/run/mo= untd.pi=3D > CB> d` > CB> > + &prompt.root; /etc/rc.d/mountd restart CB> ut> > CB> > =3D20 > CB> =20 > CB> Sending HUP to a process is not the same as restarting is. In my bo= ok, > CB> this specific section is fine as it is. >=20 > Yes. I think `/etc/rc.d/mountd reload' whould be used; however, this is= =20 Sending a HUP signal manually seems a bit silly to me now that we have the nice way of doing it with the rc.d script. Being able to simply write /etc/rc.d/foo restart/reload is one of the things I really miss when using 4.X systems. Also since, for not quite as experienced people, remembering the difference in how to reload/restart different daemons can be hard. At least I remember in my early UNIX days that I had to check the head of /etc/inetd.conf about how to reload it each time. Just my 0.02c. > depending on mountd_enable rc.conf setting which should be done explicitl= y. How about saying something like: See the rc.d chapter for more information on controling services. Or something like that? Then we don't have to duplicate the explanation about _enable=3D"YES". --=20 Simon L. Nielsen --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD9xWih9pcDSc1mlERAp4pAJ4+JQyI/1a1Dvwjx18MBz5zogoxagCgroNA 7YTzVKMdRCFLW2hLF1gXQjU= =RlFZ -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1--