From owner-freebsd-questions@FreeBSD.ORG Wed Jan 17 02:34:43 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 291C316A416 for ; Wed, 17 Jan 2007 02:34:43 +0000 (UTC) (envelope-from jwm-freebsd-questions@sentinelchicken.net) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id D973E13C442 for ; Wed, 17 Jan 2007 02:34:42 +0000 (UTC) (envelope-from jwm-freebsd-questions@sentinelchicken.net) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 16 Jan 2007 21:34:42 -0500 X-IronPort-AV: i="4.13,198,1167627600"; d="scan'208,217"; a="390044350:sNHT31543642" Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.7.5a-GA) with ESMTP id ICX06064; Tue, 16 Jan 2007 21:34:39 -0500 (EST) Received: from 207-172-209-180.c3-0.bkl-ubr2.sbo-bkl.ma.static.cable.rcn.com (HELO sentinelchicken.net) ([207.172.209.180]) by smtp01.lnh.mail.rcn.net with SMTP; 16 Jan 2007 21:34:40 -0500 Received: (qmail 79291 invoked from network); 17 Jan 2007 02:34:38 -0000 Received: from unknown (HELO crichton.skepsi.net) (10.0.0.101) by aeryn.skepsi.net with SMTP; 17 Jan 2007 02:34:38 -0000 Received: (nullmailer pid 79288 invoked by uid 1000); Wed, 17 Jan 2007 02:34:38 -0000 Date: Tue, 16 Jan 2007 21:34:38 -0500 From: Jason Morgan To: Dave Message-ID: <20070117023438.GB59723@sentinelchicken.net> References: <002501c73987$c879c460$0200a8c0@satellite> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002501c73987$c879c460$0200a8c0@satellite> User-Agent: Mutt/1.5.12-2006-07-14 X-Junkmail-Status: score=10/50, host=mr08.lnh.mail.rcn.net X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A090202.45AD894F.006C,ss=1,fgs=0, ip=207.172.4.11, so=2006-05-09 23:27:51, dmn=5.2.125/2006-10-10 Cc: freebsd-questions@freebsd.org Subject: Re: dhcpd update doesn't restart service X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2007 02:34:43 -0000 On Tue, Jan 16, 2007 at 11:02:54AM -0500, Dave wrote: > Hello, > I ran portupgrade on a 6.1 box. One of the ports needing updating was > isc-dhcpd it was v3.0.4 now at 3.0.5. I ran this update on two boxes, one > went fine, but on the other the service was not restarted. In my > pkgtools.conf file i do have the line needed to restart services after an > update. I was wondering how to set up a service so that if it died it would > be restarted? I know about inetd, but i didn't think dhcpd could run out of > it. > Thanks. > Dave. There a script for it in /etc/rc.d/ ? If so, try: # /etc/rc.d/