diff options
author | adrianp <adrianp> | 2009-02-26 23:49:24 +0000 |
---|---|---|
committer | adrianp <adrianp> | 2009-02-26 23:49:24 +0000 |
commit | 08e9306dfa0b934fa9fc6b6c5d4e43e1f81c388d (patch) | |
tree | 4b3f161cd59ed9ff0a0be948a60c8f34440f8963 /net | |
parent | b3b43d92b3a77c082d312e3869f151c52fc691ba (diff) | |
download | pkgsrc-08e9306dfa0b934fa9fc6b6c5d4e43e1f81c388d.tar.gz |
${CHOWN} the pid directory as well for chroot running
Diffstat (limited to 'net')
-rw-r--r-- | net/bind96/files/named9.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bind96/files/named9.sh b/net/bind96/files/named9.sh index 5a9ff595dd3..847face3598 100644 --- a/net/bind96/files/named9.sh +++ b/net/bind96/files/named9.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: named9.sh,v 1.2 2009/02/23 09:22:16 adrianp Exp $ +# $NetBSD: named9.sh,v 1.3 2009/02/26 23:49:24 adrianp Exp $ # # PROVIDE: named @@ -47,6 +47,7 @@ named_precmd() if [ ! -d ${named_chrootdir}@VARBASE@/run/named ]; then @MKDIR@ ${named_chrootdir}@VARBASE@/run/named + @CHOWN@ @BIND_USER@ ${named_chrootdir}@VARBASE@/run/named fi @RM@ -f ${pidfile} |