From owner-freebsd-isp Sat Jul 20 8:35:34 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEEA537B400 for ; Sat, 20 Jul 2002 08:35:31 -0700 (PDT) Received: from aurora.siteplus.com (aurora.siteplus.com [66.129.2.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EEA643E3B for ; Sat, 20 Jul 2002 08:35:31 -0700 (PDT) (envelope-from jim@jwweeks.com) Received: from veager.jwweeks.com (pcp01076331pcs.midval01.tn.comcast.net [68.59.219.194]) by aurora.siteplus.com (8.12.5/8.12.5) with ESMTP id g6KFZ34f052450; Sat, 20 Jul 2002 11:35:25 -0400 (EDT) (envelope-from jim@jwweeks.com) Date: Sat, 20 Jul 2002 11:35:06 -0400 (EDT) From: Jim Weeks To: Chris Knipe Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Scripts to Manage Virtual Hosts In-Reply-To: <009f01c22d27$abb25200$fe01a8c0@genocide> Message-ID: <20020720113347.M373-100000@veager.jwweeks.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 17 Jul 2002, Chris Knipe wrote: > > # restart named > > sub restart_named { > > open(CMD,"|/bin/kill -1 `cat /var/run/named.pid`"); > > close (CMD); > > } > > Just FYI... > > ndc reload ; and > ndc reconfig > > may just be a cleaner way of doing a restart :-) Thanks, I like that a lot better. -- Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message