Module Name: src
Committed By: christos
Date: Wed Apr 22 18:27:03 UTC 2009
Modified Files:
src/etc/rc.d: named
Log Message:
Adjust for new default location of the pid file.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/etc/rc.d/named
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/etc/rc.d/named
diff -u src/etc/rc.d/named:1.18 src/etc/rc.d/named:1.19
--- src/etc/rc.d/named:1.18 Tue Nov 29 16:07:25 2005
+++ src/etc/rc.d/named Wed Apr 22 14:27:03 2009
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: named,v 1.18 2005/11/29 21:07:25 christos Exp $
+# $NetBSD: named,v 1.19 2009/04/22 18:27:03 christos Exp $
#
# PROVIDE: named
@@ -13,7 +13,7 @@
name="named"
rcvar=$name
command="/usr/sbin/${name}"
-pidfile="/var/run/${name}.pid"
+pidfile="/var/run/${name}/${name}.pid"
start_precmd="named_precmd"
extra_commands="reload"
required_dirs="$named_chrootdir" # if it is set, it must exist