Date: Mon, 22 Oct 2007 11:09:58 -0700 From: LI Xin <delphij@delphij.net> To: Doug Barton <dougb@FreeBSD.ORG> Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/etc/rc.d named Message-ID: <471CE776.80101@delphij.net> In-Reply-To: <200710220938.l9M9ciIR057171@repoman.freebsd.org> References: <200710220938.l9M9ciIR057171@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Doug Barton wrote: > dougb 2007-10-22 09:38:44 UTC > > FreeBSD src repository > > Modified files: > etc/rc.d named > Log: > 1. Determine the location of the rndc* binaries relative to $command > so that when using named from the ports (or elsewhere) the proper rndc* > commands will be run. > > 2. Rework the stop routine using ideas from brooks and delphij. > Specifically I am duplicating a lot of code from rc.subr's stop routine > so that this one will behave more like the one in rc.subr, but use rndc > to kill the daemon (or regular kill if that fails). This also avoids > the problems related to using killall if rndc fails, which is bad if > you're running more than one named on the same box. Thanks! Cheers, -- Xin LI <delphij@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHHOd2OfuToMruuMARCppoAJ9dWcafH1ayDJi/mD8gOdND9dZQEwCfXfse 6nhMhWbJMJyL8fGUykXYS5o= =0vxl -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?471CE776.80101>
