From: | Craig Dooley <craig@xxxxxxxxxx> |
Date: | Fri, 26 Mar 2004 07:56:56 -0500 |
This just changes the path of the pidfile to match what is actually used by named. -Craig -- ------------------------------------------------------------------------ Craig Dooley craig@xxxxxxxxxx ------------------------------------------------------------------------
Index: etc/defaults/rc.conf =================================================================== RCS file: /home/dcvs/src/etc/defaults/rc.conf,v retrieving revision 1.7 diff -u -r1.7 rc.conf --- etc/defaults/rc.conf 25 Feb 2004 18:58:46 -0000 1.7 +++ etc/defaults/rc.conf 26 Mar 2004 12:55:19 -0000 @@ -139,7 +139,7 @@ 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 -g bind" # Flags for named -named_pidfile="/var/run/named/pid" # Pid file +named_pidfile="/var/run/named.pid" # Pid file 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. Index: etc/rc.d/named =================================================================== RCS file: /home/dcvs/src/etc/rc.d/named,v retrieving revision 1.2 diff -u -r1.2 named --- etc/rc.d/named 27 Jan 2004 00:42:45 -0000 1.2 +++ etc/rc.d/named 26 Mar 2004 12:47:39 -0000 @@ -91,6 +91,6 @@ # The following variable requires that rc.conf be loaded first # required_dirs="$named_chrootdir" # if it is set, it must exist -pidfile="${named_pidfile:-/var/run/${name}/pid}" +pidfile="${named_pidfile:-/var/run/${name}.pid}" run_rc_command "$1"
Attachment:
pgp00013.pgp
Description: PGP signature