From owner-svn-ports-head@FreeBSD.ORG Tue Nov 12 08:55:46 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C6FFF249; Tue, 12 Nov 2013 08:55:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B67892AB1; Tue, 12 Nov 2013 08:55:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAC8tkAY056296; Tue, 12 Nov 2013 08:55:46 GMT (envelope-from erwin@svn.freebsd.org) Received: (from erwin@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAC8tkBv056295; Tue, 12 Nov 2013 08:55:46 GMT (envelope-from erwin@svn.freebsd.org) Message-Id: <201311120855.rAC8tkBv056295@svn.freebsd.org> From: Erwin Lansing Date: Tue, 12 Nov 2013 08:55:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333550 - head/dns/bind98/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2013 08:55:46 -0000 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