From 511c05b377b0d57986d76a2ce4d71ae4073d6413 Mon Sep 17 00:00:00 2001 From: Doug Barton Date: Fri, 24 Sep 2004 22:47:10 +0000 Subject: [PATCH] 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. --- etc/defaults/rc.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 6a9fd0eda22..b61295820e9 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -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.