3 # $NetBSD: named,v 1.10 2002/03/22 04:33:59 thorpej Exp $
4 # $FreeBSD: src/etc/rc.d/named,v 1.6 2003/01/12 04:53:54 mtm Exp $
5 # $DragonFly: src/etc/rc.d/named,v 1.4 2004/05/27 18:15:40 dillon Exp $
17 command="/usr/sbin/${name}"
18 start_precmd="named_precmd"
19 required_dirs="$named_chrootdir" # if it is set, it must exist
20 extra_commands="reload"
26 # Is the user using a sandbox?
27 if [ -z "$named_chrootdir" ]; then
28 rc_flags="-u $nuser $rc_flags"
32 # Change run_rc_commands()'s internal copy of $named_flags
34 rc_flags="-u $nuser -t ${named_chrootdir} $rc_flags"
38 # The following variable requires that rc.conf be loaded first
40 required_dirs="$named_chrootdir" # if it is set, it must exist
41 pidfile="${named_pidfile:-/var/run/${name}.pid}"