From owner-freebsd-ports@FreeBSD.ORG Tue Sep 19 07:46:17 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0218616A492 for ; Tue, 19 Sep 2006 07:46:17 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail31.syd.optusnet.com.au (mail31.syd.optusnet.com.au [211.29.132.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id B039243D45 for ; Tue, 19 Sep 2006 07:46:08 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail31.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k8J7k1cN024605 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 19 Sep 2006 17:46:06 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k8J7k0SX000987; Tue, 19 Sep 2006 17:46:00 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k8J7k0Ph000986; Tue, 19 Sep 2006 17:46:00 +1000 (EST) (envelope-from peter) Date: Tue, 19 Sep 2006 17:46:00 +1000 From: Peter Jeremy To: Martin Nilsson Message-ID: <20060919074600.GA720@turion.vk2pj.dyndns.org> References: <450F7A78.5020007@gneto.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline In-Reply-To: <450F7A78.5020007@gneto.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.12-2006-07-14 Cc: freebsd-ports@freebsd.org Subject: Re: portupgrade and starting servers after upgrade. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 07:46:17 -0000 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, 2006-Sep-19 07:04:56 +0200, Martin Nilsson wrote: >For instance every time I portupgrade dhcpd I have to remember to start=20 >it manually after the upgrade. As portupgrade knows how to stop the=20 >daemon before the upgrade it should also know how to start it afterwards. Stopping the daemon is easy: "/usr/local/etc/rc.d/.... stop". Starting it afterwards is not quite as easy because, portupgrade should restore the state of the daemon to the state prior to it starting, not just start it automatically. (The administrator may have manually stopped the daemon). --=20 Peter Jeremy --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFD6A4/opHv/APuIcRAgUIAJ9/wzY9jjuAtRL25jU6Vk/MhUesDQCeKEtC mAAhKeYnRlfFogTP+1uOlWM= =iIDb -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM--