[ports/net/isc-dhcp*] Don't stop DHCP related daemons
Matthew Seaman
m.seaman at infracaninophile.co.uk
Sun Sep 12 13:03:22 UTC 2010
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
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew at infracaninophile.co.uk Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20100912/306bb859/signature.pgp
More information about the freebsd-ports
mailing list