Date: Tue, 12 Nov 2013 08:55:46 +0000 (UTC) From: Erwin Lansing <erwin@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333550 - head/dns/bind98/files Message-ID: <201311120855.rAC8tkBv056295@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: erwin Date: Tue Nov 12 08:55:46 2013 New Revision: 333550 URL: http://svnweb.freebsd.org/changeset/ports/333550 Log: Create pid directory if it doesn't exist. Modified: head/dns/bind98/files/named Modified: head/dns/bind98/files/named ============================================================================== --- head/dns/bind98/files/named Tue Nov 12 08:11:22 2013 (r333549) +++ head/dns/bind98/files/named Tue Nov 12 08:55:46 2013 (r333550) @@ -92,6 +92,12 @@ named_prestart() warn 'named_pidfile: now determined from the conf file' fi + echo ${pidfile%/pid} + if [ ! -d ${pidfile%/pid} ]; then + mkdir -p ${pidfile%/pid} + chown ${named_uid}:${named_uid} ${pidfile%/pid} + fi + command_args="-u ${named_uid:=root}" if [ ! "$named_conf" = '/etc/namedb/named.conf' ]; then
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311120855.rAC8tkBv056295>