Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Sep 2010 14:02:59 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-ports@freebsd.org
Subject:   Re: [ports/net/isc-dhcp*] Don't stop DHCP related daemons
Message-ID:  <4C8CCF83.9010508@infracaninophile.co.uk>
In-Reply-To: <20100912094602.497f93c7@it.buh.tecnik93.com>
References:  <20100911222902.bb57444a.nork@FreeBSD.org>	<20100911173359.68d71af6@it.buh.tecnik93.com>	<AANLkTimxpLKmvZc%2Bybsav8Mrpjy_aopL2qT3m8cbYL-q@mail.gmail.com>	<20100911224547.GA35333@mail.hs.ntnu.edu.tw> <20100912094602.497f93c7@it.buh.tecnik93.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig506D6A61EEFBE673288DC5BD
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 12/09/2010 07:46:02, Ion-Mihai Tetcu wrote:
> And you can't really know if it's a new install or an upgrade.

An app like portmaster or portupgrade would be able to know that.  It's
an oddity of the ports/pkg system that because 'upgrade' is implemented
as 'delete' followed by 'install' that there is difficulty in making
that distinction.

In fact, portupgrade has a nifty feature you can enable which causes it
to run '/usr/local/etc/rc.d/foo start' for any rc scripts installed by a
port it is working on.  Which is almost, but not quite, exactly what is
wanted; it should issue 'restart' for services already running, or
'start' for services stopped during the upgrade process.

	Cheers,

	Matthew=09

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW


--------------enig506D6A61EEFBE673288DC5BD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyMz4wACgkQ8Mjk52CukIx4vACdHaUW2EEBkuCtmgI47ODCibRP
DBcAnRHUGEPaDBQ4b+YVkU6PaMmUp353
=qLGN
-----END PGP SIGNATURE-----

--------------enig506D6A61EEFBE673288DC5BD--



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