Date: Sat, 18 Feb 2006 13:00:21 GMT From: "Simon L. Nielsen" <simon@FreeBSD.org> To: freebsd-doc@FreeBSD.org Subject: Re: docs/93522: [patch] use rc.d script in example describing how to restart mountd in nework-servers chapter Message-ID: <200602181300.k1ID0LUo009873@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/93522; it has been noted by GNATS. From: "Simon L. Nielsen" <simon@FreeBSD.org> To: Dmitry Morozovsky <marck@rinet.ru> Cc: Christian Brueffer <chris@unixpages.org>, 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> > - <screen>&prompt.root; <userinput>kill -HUP `cat /var/run/mo= untd.pi=3D > CB> d`</userinput></screen> > CB> > + <screen>&prompt.root; <userinput>/etc/rc.d/mountd restart</= userinp=3D > CB> ut></screen> > 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602181300.k1ID0LUo009873>