relocating the named.pid file
Ed Ravin
eravin at panix.com
Wed Jul 16 18:09:07 UTC 2008
On Wed, Jul 16, 2008 at 09:45:32AM +1000, Mark Andrews wrote:
> IMHO pid files should be in "/var/run/<application>" rather
> than "/var/run" allowing appropriate permissions to be set
> on a per application basis. "/var/run/<application>" can
> also be a symbol link for applications that are running
> chrooted.
>
> options {
> pid-file "/var/run/named/named.pid";
> };
>
> Adjust other places as needed.
On my Red Hat box, I changed the named startup script to create a symlink
from /var/run/named.pid => /var/run/named/named.pid when named is started.
I had some 3rd party monitoring scripts that wanted to see the PID file in
the normal place.
More information about the bind-users
mailing list