Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2007 21:34:38 -0500
From:      Jason Morgan <jwm-freebsd-questions@sentinelchicken.net>
To:        Dave <dmehler26@woh.rr.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: dhcpd update doesn't restart service
Message-ID:  <20070117023438.GB59723@sentinelchicken.net>
In-Reply-To: <002501c73987$c879c460$0200a8c0@satellite>
References:  <002501c73987$c879c460$0200a8c0@satellite>

next in thread | previous in thread | raw e-mail | index | archive | help
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/<script> restart


Cheers,

Jason



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070117023438.GB59723>