From owner-freebsd-ports@FreeBSD.ORG Tue Sep 26 06:31:46 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 BCA5E16A4B3; Tue, 26 Sep 2006 06:31:46 +0000 (UTC) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A39243D49; Tue, 26 Sep 2006 06:31:46 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from qlovarnika.bg.datamax (qlovarnika.bg.datamax [192.168.10.2]) by jengal.datamax.bg (Postfix) with SMTP id 6C651B860; Tue, 26 Sep 2006 09:31:42 +0300 (EEST) Received: (nullmailer pid 90173 invoked by uid 1002); Tue, 26 Sep 2006 06:31:42 -0000 Date: Tue, 26 Sep 2006 09:31:42 +0300 From: Vasil Dimov To: Sergey Matveychuk Message-ID: <20060926063142.GA90147@qlovarnika.bg.datamax> References: <200609251035.15484.erwin.vandevelde@ua.ac.be> <20060925092647.GB94311@qlovarnika.bg.datamax> <200609251147.46990.erwin.vandevelde@gmail.com> <20060925100142.GC94311@qlovarnika.bg.datamax> <4518C595.6010200@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: <4518C595.6010200@FreeBSD.org> Cc: Erwin Van de Velde , freebsd-ports@freebsd.org Subject: Re: Restarting services X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vd@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2006 06:31:46 -0000 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 26, 2006 at 10:15:49AM +0400, Sergey Matveychuk wrote: > Vasil Dimov wrote: > >=20 > > One could always minimize downtime by doing > > portupgrade xyz && /usr/local/etc/rc.d/xyz start > >=20 >=20 > You should not do it with portupgrade. Just add the lines in pkgtools.con= f: >=20 > AFTERINSTALL =3D { > '*' =3D> proc { |origin| > cmd_start_rc(origin) > }, > } >=20 Yes, this is just another way to minimize downtime. I guess there are at least a few others too. Thanks for pointing this, I wasn't aware of it :) --=20 Vasil Dimov gro.DSBeerF@dv % In 1968 it took the computing-Power of 2 C-64 to fly a rocket to the moon. Now, 1997 it takes the Power of a Pentium 133 to run Microsoft Windows 95. Something must have gone wrong. --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFFGMlOFw6SP/bBpCARAqK9AKCKJwDbQEAy7FrRYMP13OJHUdoakACdHPgA p7k8uYWkvafzpr3un+F43ew= =NLNp -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB--