For the default FreeBSD install, the file path actually is

/var/run/named/pid. This is done so that named can start
with -u bind and still dump a pid file in that directory,
which is chowned to user bind.
This commit is contained in:
Doug Barton 2004-09-24 22:47:10 +00:00
parent e53d81eee9
commit 511c05b377

View File

@ -163,7 +163,7 @@ inetd_flags="-wW -C 60" # Optional flags to inetd
named_enable="NO" # Run named, the DNS server (or NO).
named_program="/usr/sbin/named" # path to named, if you want a different one.
named_flags="-u bind" # Flags for named
named_pidfile="/var/run/named.pid" # Must set this in named.conf as well
named_pidfile="/var/run/named/pid" # Must set this in named.conf as well
named_chrootdir="" # Chroot directory (or "" not to auto-chroot it)
named_chroot_autoupdate="YES" # Automatically install/update chrooted
# components of named. See /etc/rc.d/named.