From owner-freebsd-isp Tue Jul 16 17:20:33 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 E822A37B400 for ; Tue, 16 Jul 2002 17:20:30 -0700 (PDT) Received: from pacman.mweb.co.za (pacman.mweb.co.za [196.2.45.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A67243E67 for ; Tue, 16 Jul 2002 17:20:29 -0700 (PDT) (envelope-from savage@savage.za.org) Received: from cpt-dial-196-30-178-18.mweb.co.za ([196.30.178.18] helo=netsonic.megalan.co.za) by pacman.mweb.co.za with esmtp (Exim 4.01) id 17UaZB-0004dZ-00; Wed, 17 Jul 2002 00:13:10 +0200 Received: from genocide.megalan.co.za ([192.168.1.254] helo=genocide) by netsonic.megalan.co.za with smtp (Exim 3.36 #2) id 17UcZS-0005jx-47; Wed, 17 Jul 2002 02:21:34 +0200 Message-ID: <009f01c22d27$abb25200$fe01a8c0@genocide> From: "Chris Knipe" To: "Jim Weeks" , References: <20020716194233.D368-100000@veager.jwweeks.com> Subject: Re: Scripts to Manage Virtual Hosts Date: Wed, 17 Jul 2002 02:17:34 +0200 Organization: MegaLAN Corporate Networking Services MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 > # 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 :-) -- me To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message